Class SetupHook
- java.lang.Object
-
- com.composum.sling.core.setup.hook.SetupHook
-
- All Implemented Interfaces:
org.apache.jackrabbit.vault.packaging.InstallHook
public class SetupHook extends Object implements org.apache.jackrabbit.vault.packaging.InstallHook
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME_CLIENTLIBS
static String
NAME_COMPOSUM
static String
OLD_CLIENTLIBS
static String
TYPE_FOLDER
static String
VAR_CACHE
static String
VAR_CLIENTLIBS
static String
VAR_COMPOSUM
static String
VAR_PATH
-
Constructor Summary
Constructors Constructor Description SetupHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.apache.jackrabbit.vault.packaging.InstallContext ctx)
protected void
moveClientlibsRoot(org.apache.jackrabbit.vault.packaging.InstallContext ctx)
-
-
-
Field Detail
-
NAME_COMPOSUM
public static final String NAME_COMPOSUM
- See Also:
- Constant Field Values
-
NAME_CLIENTLIBS
public static final String NAME_CLIENTLIBS
- See Also:
- Constant Field Values
-
VAR_PATH
public static final String VAR_PATH
- See Also:
- Constant Field Values
-
VAR_COMPOSUM
public static final String VAR_COMPOSUM
- See Also:
- Constant Field Values
-
VAR_CLIENTLIBS
public static final String VAR_CLIENTLIBS
- See Also:
- Constant Field Values
-
VAR_CACHE
public static final String VAR_CACHE
- See Also:
- Constant Field Values
-
OLD_CLIENTLIBS
public static final String OLD_CLIENTLIBS
- See Also:
- Constant Field Values
-
TYPE_FOLDER
public static final String TYPE_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(org.apache.jackrabbit.vault.packaging.InstallContext ctx) throws org.apache.jackrabbit.vault.packaging.PackageException
- Specified by:
execute
in interfaceorg.apache.jackrabbit.vault.packaging.InstallHook
- Throws:
org.apache.jackrabbit.vault.packaging.PackageException
-
moveClientlibsRoot
protected void moveClientlibsRoot(org.apache.jackrabbit.vault.packaging.InstallContext ctx) throws org.apache.jackrabbit.vault.packaging.PackageException
- Throws:
org.apache.jackrabbit.vault.packaging.PackageException
-
-