Enum Class TaskList.AssetConstraint

java.lang.Object
java.lang.Enum<TaskList.AssetConstraint>
com.mayam.wf.config.shared.TaskList.AssetConstraint
All Implemented Interfaces:
Serializable, Comparable<TaskList.AssetConstraint>, Constable
Enclosing class:
TaskList

public static enum TaskList.AssetConstraint extends Enum<TaskList.AssetConstraint>
For each task belonging to a task list, AssetConstraint describes a constraint with regards to an asset attribute such as Attribute.ASSET_ID.
  • Enum Constant Details

    • UNIQUE

      public static final TaskList.AssetConstraint UNIQUE
      An asset is required; it may not be shared with any active task in the list.
    • FULLY_UNIQUE

      public static final TaskList.AssetConstraint FULLY_UNIQUE
      An asset is requires; it may not be shared with any other task in the list - active or closed.
    • NON_UNIQUE

      public static final TaskList.AssetConstraint NON_UNIQUE
      An asset is required; sharing between tasks is allowed.
    • OPTIONAL

      public static final TaskList.AssetConstraint OPTIONAL
      An asset is allowed, but not required. This is the default if no explicit constraint is specified.
  • Method Details

    • values

      public static TaskList.AssetConstraint[] 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 TaskList.AssetConstraint 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