Enum Class ActionType

java.lang.Object
java.lang.Enum<ActionType>
com.genologics.ri.step.ActionType
All Implemented Interfaces:
Serializable, Comparable<ActionType>, Constable

public enum ActionType extends Enum<ActionType>
Enumeration of action types that can be performed on artifacts in a step.
  • Enum Constant Details

    • LEAVE

      public static final ActionType LEAVE
      Leave the artifact as is.
    • REPEAT

      public static final ActionType REPEAT
      Repeat the action on the artifact.
    • REMOVE

      public static final ActionType REMOVE
      Remove the artifact.
    • REVIEW

      public static final ActionType REVIEW
      Review the artifact.
    • COMPLETE

      public static final ActionType COMPLETE
      Complete the action.
    • STORE

      public static final ActionType STORE
      Store the artifact.
    • NEXTSTEP

      public static final ActionType NEXTSTEP
      Move to the next step.
    • REWORK

      public static final ActionType REWORK
      Rework the artifact.
    • COMPLETE_REPEAT

      public static final ActionType COMPLETE_REPEAT
      Complete and repeat.
    • UNKNOWN

      public static final ActionType UNKNOWN
      Unknown action type.
  • Method Details

    • values

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

      public static ActionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Gets the string value.
      Returns:
      The string value.
    • fromValue

      public static ActionType fromValue(String v)
      Converts a string value to an ActionType.
      Parameters:
      v - The string value.
      Returns:
      The corresponding ActionType.
      Throws:
      IllegalArgumentException - if the value doesn't match any action type.