public interface InstallHookProcessor
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(InstallContext context)
Executes the registered hooks with the current
InstallContext.Phase. |
boolean |
hasHooks()
Checks if this process has any hooks registered.
|
void |
registerHook(VaultInputSource input,
ClassLoader classLoader)
Register the hook provided by the given input source.
|
void |
registerHooks(Archive archive,
ClassLoader classLoader)
Register all hooks found in the given archive.
|
void registerHooks(Archive archive, ClassLoader classLoader) throws PackageException
archive - the archive.classLoader - the class loaderPackageException - if an error occurs.void registerHook(VaultInputSource input, ClassLoader classLoader) throws IOException, PackageException
input - a vault input source containing the jar file of the install hookclassLoader - the class loaderIOException - if an I/O error occursPackageException - if an error occurs.boolean hasHooks()
true if there are hooks registered.boolean execute(InstallContext context)
InstallContext.Phase.context - the contexttrue if successful.Copyright © 2010 - 2020 Adobe. All Rights Reserved