Package org.duracloud.common.test
Enum StorageProviderCredential.ProviderType
- java.lang.Object
-
- java.lang.Enum<StorageProviderCredential.ProviderType>
-
- org.duracloud.common.test.StorageProviderCredential.ProviderType
-
- All Implemented Interfaces:
Serializable,Comparable<StorageProviderCredential.ProviderType>
- Enclosing class:
- StorageProviderCredential
public static enum StorageProviderCredential.ProviderType extends Enum<StorageProviderCredential.ProviderType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMAZON_GLACIERAMAZON_S3SWIFT_S3
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StorageProviderCredential.ProviderTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StorageProviderCredential.ProviderType[]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 StorageProviderCredential.ProviderType AMAZON_S3
-
SWIFT_S3
public static final StorageProviderCredential.ProviderType SWIFT_S3
-
AMAZON_GLACIER
public static final StorageProviderCredential.ProviderType AMAZON_GLACIER
-
-
Method Detail
-
values
public static StorageProviderCredential.ProviderType[] 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 (StorageProviderCredential.ProviderType c : StorageProviderCredential.ProviderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageProviderCredential.ProviderType 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
-
-