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.
    • 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