Package org.cdlib.mrt.zk
Enum AccessState
- All Implemented Interfaces:
Serializable
,Comparable<AccessState>
,IngestState
Access Assembly State Transitions
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll jobs COMPLETEDAt least one job FAILEDAssembly is ready to be processedPayload is analyzed. -
Method Summary
Modifier and TypeMethodDescriptionstateChange
(IngestState next) static AccessState
Returns the enum constant of this type with the specified name.static AccessState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.cdlib.mrt.zk.IngestState
fail, isDeletable, name, stateChangeAllowed, success
-
Enum Constant Details
-
Pending
Assembly is ready to be processed -
Processing
Payload is analyzed. If the payload is a manifest, it will be downloaded. Jobs are created in the job queue. -
Failed
At least one job FAILED -
Completed
All jobs COMPLETED -
Deleted
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
nextStates
- Specified by:
nextStates
in interfaceIngestState
-
stateChange
- Specified by:
stateChange
in interfaceIngestState
-