Class CurrentInstallStateImpl

All Implemented Interfaces:
CurrentInstallState, Component, DestructableComponent, InitializableComponent

public final class CurrentInstallStateImpl extends AbstractInitializableComponent implements CurrentInstallState
Tells the installers about the current install state.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • targetDir

      private final Path targetDir
      Where we are installing to.
    • deleteAfterUpgrades

      private final String[][] deleteAfterUpgrades
      The files we will delete if they created on upgrade.
    • enabledModules

      private Set<String> enabledModules
      The module IDs which are enabled.
    • idpPropertiesPresent

      private boolean idpPropertiesPresent
      Whether the IdP properties file exists.
    • ldapPropertiesPresent

      private boolean ldapPropertiesPresent
      Whether the LDAP properties file exists.
    • systemPresent

      private boolean systemPresent
      Whether system is present.
    • oldVersion

      private String oldVersion
      Old Version.
    • props

      private Properties props
      Previous props.
    • pathsToDelete

      @NonnullAfterInit private List<Path> pathsToDelete
      The files to delete after an upgrade.
    • installedPluginsLoader

      @Nullable private ClassLoader installedPluginsLoader
      The classloader for "us plus the plugins in the target".
  • Constructor Details

    • CurrentInstallStateImpl

      public CurrentInstallStateImpl(InstallerProperties installerProps)
      installerProps - the installer situation.
  • Method Details