Interface InstallContext
-
- All Known Implementing Classes:
InstallContextImpl
@ProviderType public interface InstallContext
The install context is passed toInstallHook
s during the different phases of a package installation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InstallContext.Phase
The current phase of a package installation
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 package
-
-
-
Method Detail
-
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
-
-