Package com.aizuda.bpm.engine.core.enums
Enum InstancePriority
- java.lang.Object
-
- java.lang.Enum<InstancePriority>
-
- com.aizuda.bpm.engine.core.enums.InstancePriority
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InstancePriority>
public enum InstancePriority extends java.lang.Enum<InstancePriority>
流程实例优先级官网尊重知识产权,不允许非法使用,后果自负
- Since:
- 1.0
- Author:
- hubin
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneq(java.lang.Integer value)static InstancePriorityget(int value)booleanne(java.lang.Integer value)static InstancePriorityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InstancePriority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
normal
public static final InstancePriority normal
普通
-
async
public static final InstancePriority async
异步
-
-
Method Detail
-
values
public static InstancePriority[] 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 (InstancePriority c : InstancePriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstancePriority 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
-
ne
public boolean ne(java.lang.Integer value)
-
eq
public boolean eq(java.lang.Integer value)
-
get
public static InstancePriority get(int value)
-
-