Package edu.byu.hbll.box
Enum Class BoxDocument.Status
- All Implemented Interfaces:
Serializable
,Comparable<BoxDocument.Status>
,java.lang.constant.Constable
- Enclosing class:
- BoxDocument
Status of the document.
- Author:
- Charles Draper
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe document has been deleted.There was an error in the processing.The document has been processed and is ready to use.The document is new and has not yet been processed. -
Method Summary
Modifier and TypeMethodDescriptionstatic BoxDocument.Status
Returns the enum constant of this class with the specified name.static BoxDocument.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNPROCESSED
The document is new and has not yet been processed. -
READY
The document has been processed and is ready to use. -
DELETED
The document has been deleted. -
ERROR
There was an error in the processing.
-
-
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
-