Package org.duracloud.snapshot.dto
Enum RestoreStatus
- java.lang.Object
-
- java.lang.Enum<RestoreStatus>
-
- org.duracloud.snapshot.dto.RestoreStatus
-
- All Implemented Interfaces:
Serializable,Comparable<RestoreStatus>
public enum RestoreStatus extends Enum<RestoreStatus>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestoreStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static RestoreStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZED
public static final RestoreStatus INITIALIZED
-
RETRIEVING_FROM_STORAGE
public static final RestoreStatus RETRIEVING_FROM_STORAGE
-
STORAGE_RETRIEVAL_COMPLETE
public static final RestoreStatus STORAGE_RETRIEVAL_COMPLETE
-
VERIFYING_RETRIEVED_CONTENT
public static final RestoreStatus VERIFYING_RETRIEVED_CONTENT
-
VERIFYING_SNAPSHOT_REPO_AGAINST_MANIFEST
public static final RestoreStatus VERIFYING_SNAPSHOT_REPO_AGAINST_MANIFEST
-
TRANSFERRING_TO_DURACLOUD
public static final RestoreStatus TRANSFERRING_TO_DURACLOUD
-
TRANSFER_TO_DURACLOUD_COMPLETE
public static final RestoreStatus TRANSFER_TO_DURACLOUD_COMPLETE
-
VERIFYING_TRANSFERRED_CONTENT
public static final RestoreStatus VERIFYING_TRANSFERRED_CONTENT
-
CLEANING_UP
public static final RestoreStatus CLEANING_UP
-
ERROR
public static final RestoreStatus ERROR
-
RESTORATION_COMPLETE
public static final RestoreStatus RESTORATION_COMPLETE
-
RESTORATION_EXPIRED
public static final RestoreStatus RESTORATION_EXPIRED
-
CANCELLED
public static final RestoreStatus CANCELLED
-
-
Method Detail
-
values
public static RestoreStatus[] 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 (RestoreStatus c : RestoreStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestoreStatus 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
-
-