Package org.opends.guitools.uninstaller
Enum UninstallProgressStep
- java.lang.Object
-
- java.lang.Enum<UninstallProgressStep>
-
- org.opends.guitools.uninstaller.UninstallProgressStep
-
- All Implemented Interfaces:
Serializable,Comparable<UninstallProgressStep>,ProgressStep
public enum UninstallProgressStep extends Enum<UninstallProgressStep> implements ProgressStep
Enumeration of steps for an uninstall process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETING_EXTERNAL_DATABASE_FILESRemoving External Database files.DELETING_EXTERNAL_LOG_FILESRemoving External Log files.DELETING_INSTALLATION_FILESRemoving installation files.DISABLING_WINDOWS_SERVICEDisabling Windows Service.FINISHED_SUCCESSFULLYInstallation finished successfully.FINISHED_WITH_ERRORInstallation finished with an error.FINISHED_WITH_ERROR_DELETINGInstallation finished but not all the files could be deleted.FINISHED_WITH_ERROR_ON_REMOTEInstallation finished with a non critical error updating remote servers.NOT_STARTEDUninstall not started.REMOVING_EXTERNAL_REFERENCESRemoving external references.STARTEDUninstall has started.STOPPING_SERVERStopping server.UNCONFIGURING_REPLICATIONUnconfiguring replication in remote servers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisError()Indicates whether this Progress step is arrived at through an error in the application.booleanisLast()Indicates whether this Progress step is a final step.static UninstallProgressStepvalueOf(String name)Returns the enum constant of this type with the specified name.static UninstallProgressStep[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final UninstallProgressStep NOT_STARTED
Uninstall not started.
-
STARTED
public static final UninstallProgressStep STARTED
Uninstall has started.
-
UNCONFIGURING_REPLICATION
public static final UninstallProgressStep UNCONFIGURING_REPLICATION
Unconfiguring replication in remote servers.
-
STOPPING_SERVER
public static final UninstallProgressStep STOPPING_SERVER
Stopping server.
-
DISABLING_WINDOWS_SERVICE
public static final UninstallProgressStep DISABLING_WINDOWS_SERVICE
Disabling Windows Service.
-
DELETING_EXTERNAL_DATABASE_FILES
public static final UninstallProgressStep DELETING_EXTERNAL_DATABASE_FILES
Removing External Database files.
-
DELETING_EXTERNAL_LOG_FILES
public static final UninstallProgressStep DELETING_EXTERNAL_LOG_FILES
Removing External Log files.
-
REMOVING_EXTERNAL_REFERENCES
public static final UninstallProgressStep REMOVING_EXTERNAL_REFERENCES
Removing external references.
-
DELETING_INSTALLATION_FILES
public static final UninstallProgressStep DELETING_INSTALLATION_FILES
Removing installation files.
-
FINISHED_SUCCESSFULLY
public static final UninstallProgressStep FINISHED_SUCCESSFULLY
Installation finished successfully.
-
FINISHED_WITH_ERROR_ON_REMOTE
public static final UninstallProgressStep FINISHED_WITH_ERROR_ON_REMOTE
Installation finished with a non critical error updating remote servers.
-
FINISHED_WITH_ERROR_DELETING
public static final UninstallProgressStep FINISHED_WITH_ERROR_DELETING
Installation finished but not all the files could be deleted.
-
FINISHED_WITH_ERROR
public static final UninstallProgressStep FINISHED_WITH_ERROR
Installation finished with an error.
-
-
Method Detail
-
values
public static UninstallProgressStep[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UninstallProgressStep c : UninstallProgressStep.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UninstallProgressStep valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isLast
public boolean isLast()
Description copied from interface:ProgressStepIndicates whether this Progress step is a final step.- Specified by:
isLastin interfaceProgressStep- Returns:
- true if this is a final step
-
isError
public boolean isError()
Description copied from interface:ProgressStepIndicates whether this Progress step is arrived at through an error in the application.- Specified by:
isErrorin interfaceProgressStep- Returns:
- true if this is an error step
-
-