Interface InstallContext
- 
@ProviderType public interface InstallContextThe install context is passed toInstallHooks during the different phases of a package installation. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInstallContext.PhaseThe current phase of a package installation 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportOptionsgetOptions()Returns the import options that are used to install the packageVaultPackagegetPackage()Returns the package that is currently installedInstallContext.PhasegetPhase()Returns the current installation phasejavax.jcr.SessiongetSession()Returns the session that is used to install the package 
 - 
 
- 
- 
Method Detail
- 
getPhase
InstallContext.Phase getPhase()
Returns the current installation phase- Returns:
 - the phase
 
 
- 
getSession
javax.jcr.Session getSession()
Returns the session that is used to install the package- Returns:
 - the session
 
 
- 
getPackage
VaultPackage getPackage()
Returns the package that is currently installed- Returns:
 - the vault package
 
 
- 
getOptions
ImportOptions getOptions()
Returns the import options that are used to install the package- Returns:
 - the import options
 
 
 - 
 
 -