Enum StorageProvider
- java.lang.Object
-
- java.lang.Enum<StorageProvider>
-
- fr.gouv.vitam.common.storage.constants.StorageProvider
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StorageProvider>
public enum StorageProvider extends java.lang.Enum<StorageProvider>
Storage offers provider
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMAZON_S3_V1
S3 storage offer Amazon SDK S3 v1FILESYSTEM
File system storage offerHASHFILESYSTEM
File system storage offer with a hashed directory structureSWIFT_AUTH_V1
Swift storage offer (ceph or openStack) authent v1 DO NOT CHANGE THE VALUE OF THIS VAR AS JCLOUDS IS EXPECTING THIS EXACT VALUESWIFT_AUTH_V2
Swift storage offer authent v2SWIFT_AUTH_V3
Swift storage offer authent v3TAPE_LIBRARY
Tape library offer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageProvider
getStorageProvider(java.lang.String storageProvider)
java.lang.String
getValue()
boolean
hasStoragePath()
static StorageProvider
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StorageProvider[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILESYSTEM
public static final StorageProvider FILESYSTEM
File system storage offer
-
SWIFT_AUTH_V1
public static final StorageProvider SWIFT_AUTH_V1
Swift storage offer (ceph or openStack) authent v1 DO NOT CHANGE THE VALUE OF THIS VAR AS JCLOUDS IS EXPECTING THIS EXACT VALUE
-
SWIFT_AUTH_V2
public static final StorageProvider SWIFT_AUTH_V2
Swift storage offer authent v2
-
SWIFT_AUTH_V3
public static final StorageProvider SWIFT_AUTH_V3
Swift storage offer authent v3
-
AMAZON_S3_V1
public static final StorageProvider AMAZON_S3_V1
S3 storage offer Amazon SDK S3 v1
-
HASHFILESYSTEM
public static final StorageProvider HASHFILESYSTEM
File system storage offer with a hashed directory structure
-
TAPE_LIBRARY
public static final StorageProvider TAPE_LIBRARY
Tape library offer
-
-
Method Detail
-
values
public static StorageProvider[] 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 (StorageProvider c : StorageProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageProvider valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getStorageProvider
public static StorageProvider getStorageProvider(java.lang.String storageProvider)
-
getValue
public java.lang.String getValue()
- Returns:
- the value
-
hasStoragePath
public boolean hasStoragePath()
-
-