Enum AccessState

java.lang.Object
java.lang.Enum<AccessState>
org.cdlib.mrt.zk.AccessState
All Implemented Interfaces:
Serializable, Comparable<AccessState>, IngestState

public enum AccessState extends Enum<AccessState> implements IngestState

Access Assembly State Transitions

See Also:
  • Enum Constant Details

    • Pending

      public static final AccessState Pending
      Assembly is ready to be processed
    • Processing

      public static final AccessState Processing
      Payload is analyzed. If the payload is a manifest, it will be downloaded. Jobs are created in the job queue.
    • Failed

      public static final AccessState Failed
      At least one job FAILED
    • Completed

      public static final AccessState Completed
      All jobs COMPLETED
    • Deleted

      public static final AccessState Deleted
  • Method Details

    • values

      public static AccessState[] 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

      public static AccessState 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 name
      NullPointerException - if the argument is null
    • nextStates

      public List<IngestState> nextStates()
      Specified by:
      nextStates in interface IngestState
    • stateChange

      public IngestState stateChange(IngestState next)
      Specified by:
      stateChange in interface IngestState