Package net.solarnetwork.node.backup
Enum Class BackupStatus
- All Implemented Interfaces:
Serializable,Comparable<BackupStatus>,Constable
Status of the backup service.
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe backup has been configured and scheduled.An error has occurred while making or restoring from a backup.Restoring from a backup right now.A backup is being made right now.The backup has not been configured. -
Method Summary
Modifier and TypeMethodDescriptionstatic BackupStatusReturns the enum constant of this class with the specified name.static BackupStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unconfigured
The backup has not been configured. -
Configured
The backup has been configured and scheduled. -
RunningBackup
A backup is being made right now. -
RestoringBackup
Restoring from a backup right now. -
Error
An error has occurred while making or restoring from a backup.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-