Package com.saperion.externalstorage
Enum Class ExternalStorageDocUploadStatus
java.lang.Object
java.lang.Enum<ExternalStorageDocUploadStatus>
com.saperion.externalstorage.ExternalStorageDocUploadStatus
- All Implemented Interfaces:
Serializable
,Comparable<ExternalStorageDocUploadStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the document is deleted in Saperion before archiving is doneWhen no document is found in External Storage at expiry timeWhen there is a failure while archiving in SaperionAfter a folder is created for archiving documents in Saperion (archiving is pending)After archiving is successful -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
valueOf
(int value) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static ExternalStorageDocUploadStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
After a folder is created for archiving documents in Saperion (archiving is pending) -
UPLOADED
After archiving is successful -
FAILED
When there is a failure while archiving in Saperion -
DELETED
When the document is deleted in Saperion before archiving is done -
EXPIRED
When no document is found in External Storage at expiry time
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-