Class CurrentInstallStatus


  • public class CurrentInstallStatus
    extends Object
    This class is used to know which is the status of the install. It is required to do an installation after the user has unzipped the zip file. The main goal of the class is to help identifying whether there is already something installed or not. This class assumes that we are running in the case of an offline install.
    • Constructor Detail

      • CurrentInstallStatus

        public CurrentInstallStatus()
        The constructor of a CurrentInstallStatus object.
    • Method Detail

      • isInstalled

        public boolean isInstalled()
        Indicates whether there is something installed or not.
        Returns:
        true if there is something installed under the binaries that we are running, or false if not.
      • canOverwriteCurrentInstall

        public boolean canOverwriteCurrentInstall()
        Indicates can overwrite current install.
        Returns:
        true if there is something installed under the binaries that we are running and we can overwrite it and false if not.
      • getInstallationMsg

        public org.forgerock.i18n.LocalizableMessage getInstallationMsg()
        Provides a localized message to be displayed to the user in HTML format informing of the installation status.
        Returns:
        an String in HTML format describing the status of the installation.