Class InstallContextImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.packaging.impl.InstallContextImpl
-
- All Implemented Interfaces:
InstallContext
public class InstallContextImpl extends Object implements InstallContext
InstallContextImpl
...
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.vault.packaging.InstallContext
InstallContext.Phase
-
-
Constructor Summary
Constructors Constructor Description InstallContextImpl(Session session, String importRootPath, VaultPackage pack, Importer importer, InstallHookProcessor hooks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InstallHookProcessor
getHooks()
protected Importer
getImporter()
protected String
getImportRootPath()
ImportOptions
getOptions()
Returns the import options that are used to install the packageVaultPackage
getPackage()
Returns the package that is currently installedInstallContext.Phase
getPhase()
Returns the current installation phaseSession
getSession()
Returns the session that is used to install the packageprotected void
setPhase(InstallContext.Phase phase)
-
-
-
Constructor Detail
-
InstallContextImpl
public InstallContextImpl(Session session, String importRootPath, VaultPackage pack, Importer importer, InstallHookProcessor hooks) throws RepositoryException
- Throws:
RepositoryException
-
-
Method Detail
-
getSession
public Session getSession()
Description copied from interface:InstallContext
Returns the session that is used to install the package- Specified by:
getSession
in interfaceInstallContext
- Returns:
- the session
-
getPackage
public VaultPackage getPackage()
Description copied from interface:InstallContext
Returns the package that is currently installed- Specified by:
getPackage
in interfaceInstallContext
- Returns:
- the vault package
-
getOptions
public ImportOptions getOptions()
Description copied from interface:InstallContext
Returns the import options that are used to install the package- Specified by:
getOptions
in interfaceInstallContext
- Returns:
- the import options
-
getPhase
public InstallContext.Phase getPhase()
Description copied from interface:InstallContext
Returns the current installation phase- Specified by:
getPhase
in interfaceInstallContext
- Returns:
- the phase
-
setPhase
protected void setPhase(InstallContext.Phase phase)
-
getImporter
protected Importer getImporter()
-
getHooks
protected InstallHookProcessor getHooks()
-
getImportRootPath
protected String getImportRootPath()
-
-