Class ExampleHook
- java.lang.Object
-
- org.apache.jackrabbit.vault.packaging.hooks.ExampleHook
-
- All Implemented Interfaces:
InstallHook
public class ExampleHook extends Object implements InstallHook
ExampleHook
...
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROP_COPY_FROM
static String
PROP_COPY_TO
static String
PROP_TEST_NODE
-
Constructor Summary
Constructors Constructor Description ExampleHook()
-
-
-
Method Detail
-
execute
public void execute(InstallContext ctx) throws PackageException
Description copied from interface:InstallHook
Executes hook specific code. This is called for each installation phase.- Specified by:
execute
in interfaceInstallHook
- Parameters:
ctx
- the installation context- Throws:
PackageException
- if the hook desires to abort the current phase.
-
-