Enum Class BackupStatus

java.lang.Object
java.lang.Enum<BackupStatus>
net.solarnetwork.node.backup.BackupStatus
All Implemented Interfaces:
Serializable, Comparable<BackupStatus>, Constable

public enum BackupStatus extends Enum<BackupStatus>
Status of the backup service.
Version:
1.0
Author:
matt
  • Enum Constant Details

    • Unconfigured

      public static final BackupStatus Unconfigured
      The backup has not been configured.
    • Configured

      public static final BackupStatus Configured
      The backup has been configured and scheduled.
    • RunningBackup

      public static final BackupStatus RunningBackup
      A backup is being made right now.
    • RestoringBackup

      public static final BackupStatus RestoringBackup
      Restoring from a backup right now.
    • Error

      public static final BackupStatus Error
      An error has occurred while making or restoring from a backup.
  • Method Details

    • values

      public static BackupStatus[] 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

      public static BackupStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null