Package org.opends.quicksetup
Class CurrentInstallStatus
- java.lang.Object
-
- org.opends.quicksetup.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 Summary
Constructors Constructor Description CurrentInstallStatus()The constructor of a CurrentInstallStatus object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanOverwriteCurrentInstall()Indicates can overwrite current install.org.forgerock.i18n.LocalizableMessagegetInstallationMsg()Provides a localized message to be displayed to the user in HTML format informing of the installation status.booleanisInstalled()Indicates whether there is something installed or not.
-
-
-
Method Detail
-
isInstalled
public boolean isInstalled()
Indicates whether there is something installed or not.- Returns:
trueif there is something installed under the binaries that we are running, orfalseif not.
-
canOverwriteCurrentInstall
public boolean canOverwriteCurrentInstall()
Indicates can overwrite current install.- Returns:
trueif there is something installed under the binaries that we are running and we can overwrite it andfalseif 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.
-
-