Package org.duracloud.storage.domain
Enum StorageProviderType
- java.lang.Object
-
- java.lang.Enum<StorageProviderType>
-
- org.duracloud.storage.domain.StorageProviderType
-
- All Implemented Interfaces:
Serializable,Comparable<StorageProviderType>
public enum StorageProviderType extends Enum<StorageProviderType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMAZON_GLACIERAMAZON_S3CHRONOPOLISIRODSSWIFT_S3TEST_RETRYTEST_VERIFY_CREATETEST_VERIFY_DELETEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageProviderTypefromString(String pt)StringgetName()StringtoString()static StorageProviderTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StorageProviderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMAZON_S3
public static final StorageProviderType AMAZON_S3
-
AMAZON_GLACIER
public static final StorageProviderType AMAZON_GLACIER
-
SWIFT_S3
public static final StorageProviderType SWIFT_S3
-
IRODS
public static final StorageProviderType IRODS
-
CHRONOPOLIS
public static final StorageProviderType CHRONOPOLIS
-
UNKNOWN
public static final StorageProviderType UNKNOWN
-
TEST_RETRY
public static final StorageProviderType TEST_RETRY
-
TEST_VERIFY_CREATE
public static final StorageProviderType TEST_VERIFY_CREATE
-
TEST_VERIFY_DELETE
public static final StorageProviderType TEST_VERIFY_DELETE
-
-
Method Detail
-
values
public static StorageProviderType[] 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 (StorageProviderType c : StorageProviderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageProviderType 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
-
fromString
public static StorageProviderType fromString(String pt)
-
toString
public String toString()
- Overrides:
toStringin classEnum<StorageProviderType>
-
getName
public String getName()
-
-