@ConsumerType public interface InstallHook
InstallContext.Phase.ENDphase. The hook jars need to be placed in the "META-INF/vault/hooks" directory and are executed in alphabetical sequence for each installation phase. A hook can throw a
PackageExceptionto abort the current phase, but this has currently only an effect in the
InstallContext.Phase.PREPAREphase. If a hook fails, the current phase is aborted and all hooks (also the failing one) are called again with the respective "fail" phase.
Copyright © 2018 The Apache Software Foundation. All Rights Reserved.