Enum STaskPriority
- java.lang.Object
-
- java.lang.Enum<STaskPriority>
-
- org.bonitasoft.engine.core.process.instance.model.STaskPriority
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<STaskPriority>
,EnumToObjectConvertible
public enum STaskPriority extends java.lang.Enum<STaskPriority> implements EnumToObjectConvertible
- Author:
- Emmanuel Duchastenier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOVE_NORMAL
HIGHEST
LOWEST
NORMAL
UNDER_NORMAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
fromEnum()
Convert this enum to an Object valuestatic STaskPriority
fromOrdinal(int n)
static STaskPriority
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static STaskPriority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOWEST
public static final STaskPriority LOWEST
-
UNDER_NORMAL
public static final STaskPriority UNDER_NORMAL
-
NORMAL
public static final STaskPriority NORMAL
-
ABOVE_NORMAL
public static final STaskPriority ABOVE_NORMAL
-
HIGHEST
public static final STaskPriority HIGHEST
-
-
Method Detail
-
values
public static STaskPriority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (STaskPriority c : STaskPriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static STaskPriority valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromEnum
public int fromEnum()
Description copied from interface:EnumToObjectConvertible
Convert this enum to an Object value- Specified by:
fromEnum
in interfaceEnumToObjectConvertible
- Returns:
- The object corresponding to the Enum
-
fromOrdinal
public static STaskPriority fromOrdinal(int n)
-
-