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
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!
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe priority "action required" (int value 7000).The priority "high" (int value 5000).The priority "low" (int value 3000).The priority "normal" (int value 4000).The priority "not set" (int value 0).The priority "on hold" (int value 1000).The priority "urgent" (int value 6000).The priority "very low" (int value 2000). -
Method Summary
Modifier and TypeMethodDescriptionintstatic StringReturns a string representation of the priority.static String[]valueLabels(Locale locale) static WorklistConstants.PriorityReturns the enum constant of this class with the specified name.static WorklistConstants.Priority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_SET
The priority "not set" (int value 0). -
ON_HOLD
The priority "on hold" (int value 1000). -
VERY_LOW
The priority "very low" (int value 2000). -
LOW
The priority "low" (int value 3000). -
NORMAL
The priority "normal" (int value 4000). -
HIGH
The priority "high" (int value 5000). -
URGENT
The priority "urgent" (int value 6000). -
ACTION_REQUIRED
The priority "action required" (int value 7000).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getPriority
public int getPriority() -
toString
Returns a string representation of the priority.- Parameters:
priority-locale- The locale which to use ornullfor the default locale of the JVM.- Returns:
- The (localised) string representation
-
valueLabels
- Parameters:
locale- The locale which to use ornullto useLocale.ENGLISH.- Returns:
- String array for all labels.
-