Interface InstallContext
- All Known Implementing Classes:
InstallContextImpl
@ProviderType
public interface InstallContext
The install context is passed to
InstallHooks during the different
phases of a package installation.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe current phase of a package installation -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 package
-
Method Details
-
getPhase
InstallContext.Phase getPhase()Returns the current installation phase- Returns:
- the phase
-
getSession
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
-