Package org.infinispan.server.core
Enum BackupManager.Status
- java.lang.Object
-
- java.lang.Enum<BackupManager.Status>
-
- org.infinispan.server.core.BackupManager.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<BackupManager.Status>
- Enclosing interface:
- BackupManager
public static enum BackupManager.Status extends Enum<BackupManager.Status>
An enum representing the current state of a Backup operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
FAILED
IN_PROGRESS
NOT_FOUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackupManager.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackupManager.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLETE
public static final BackupManager.Status COMPLETE
-
FAILED
public static final BackupManager.Status FAILED
-
IN_PROGRESS
public static final BackupManager.Status IN_PROGRESS
-
NOT_FOUND
public static final BackupManager.Status NOT_FOUND
-
-
Method Detail
-
values
public static BackupManager.Status[] 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 (BackupManager.Status c : BackupManager.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackupManager.Status 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
-
-