Enum Class WorklistConstants.Priority

java.lang.Object
java.lang.Enum<WorklistConstants.Priority>
de.aristaflow.adept2.model.globals.WorklistConstants.Priority
All Implemented Interfaces:
Serializable, Comparable<WorklistConstants.Priority>, java.lang.constant.Constable
Enclosing class:
WorklistConstants

public static enum WorklistConstants.Priority extends Enum<WorklistConstants.Priority>
The priority of a worklist item. Proposed default values are in encapsulated class. NOTE: The order of the enum values is important! Do not change!
  • Enum Constant Details

  • Method Details

    • values

      public static WorklistConstants.Priority[] 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 WorklistConstants.Priority 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
    • getPriority

      public int getPriority()
    • toString

      public static String toString(int priority, Locale locale)
      Returns a string representation of the priority.
      Parameters:
      priority -
      locale - The locale which to use or null for the default locale of the JVM.
      Returns:
      The (localised) string representation
    • valueLabels

      public static String[] valueLabels(Locale locale)
      Parameters:
      locale - The locale which to use or null to use Locale.ENGLISH.
      Returns:
      String array for all labels.