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 Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The current phase of a package installation
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the import options that are used to install the package
    Returns the package that is currently installed
    Returns the current installation phase
    Returns the session that is used to install the package
  • Method Details

    • 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