Class InstallContextImpl
java.lang.Object
org.apache.jackrabbit.vault.packaging.impl.InstallContextImpl
- All Implemented Interfaces:
InstallContext
InstallContextImpl...-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jackrabbit.vault.packaging.InstallContext
InstallContext.Phase -
Constructor Summary
ConstructorsConstructorDescriptionInstallContextImpl(Session session, String importRootPath, VaultPackage pack, Importer importer, InstallHookProcessor hooks) -
Method Summary
Modifier and TypeMethodDescriptionprotected InstallHookProcessorgetHooks()protected Importerprotected StringReturns the import options that are used to install the packageReturns the package that is currently installedgetPhase()Returns the current installation phaseReturns the session that is used to install the packageprotected voidsetPhase(InstallContext.Phase phase)
-
Constructor Details
-
InstallContextImpl
public InstallContextImpl(Session session, String importRootPath, VaultPackage pack, Importer importer, InstallHookProcessor hooks) throws RepositoryException - Throws:
RepositoryException
-
-
Method Details
-
getSession
Description copied from interface:InstallContextReturns the session that is used to install the package- Specified by:
getSessionin interfaceInstallContext- Returns:
- the session
-
getPackage
Description copied from interface:InstallContextReturns the package that is currently installed- Specified by:
getPackagein interfaceInstallContext- Returns:
- the vault package
-
getOptions
Description copied from interface:InstallContextReturns the import options that are used to install the package- Specified by:
getOptionsin interfaceInstallContext- Returns:
- the import options
-
getPhase
Description copied from interface:InstallContextReturns the current installation phase- Specified by:
getPhasein interfaceInstallContext- Returns:
- the phase
-
setPhase
-
getImporter
-
getHooks
-
getImportRootPath
-