Package com.aizuda.bpm.engine.core.enums
Enum TaskState
- java.lang.Object
-
- java.lang.Enum<TaskState>
-
- com.aizuda.bpm.engine.core.enums.TaskState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description active活动autoComplete自动完成autoJump自动跳转autoReject自动驳回complete完成jump跳转reApproveJump驳回重新审批跳转reject拒绝rejectEnd驳回终止rejectJump驳回跳转revoke撤销审批routeJump路由跳转terminate终止timeout超时
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanallowedCheck(TaskState taskState)booleaneq(java.lang.Integer value)static TaskStateget(int value)booleanne(java.lang.Integer value)static TaskStateof(InstanceState instanceState)static TaskStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TaskState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
active
public static final TaskState active
活动
-
jump
public static final TaskState jump
跳转
-
complete
public static final TaskState complete
完成
-
reject
public static final TaskState reject
拒绝
-
revoke
public static final TaskState revoke
撤销审批
-
timeout
public static final TaskState timeout
超时
-
terminate
public static final TaskState terminate
终止
-
rejectEnd
public static final TaskState rejectEnd
驳回终止
-
autoComplete
public static final TaskState autoComplete
自动完成
-
autoReject
public static final TaskState autoReject
自动驳回
-
autoJump
public static final TaskState autoJump
自动跳转
-
rejectJump
public static final TaskState rejectJump
驳回跳转
-
reApproveJump
public static final TaskState reApproveJump
驳回重新审批跳转
-
routeJump
public static final TaskState routeJump
路由跳转
-
-
Method Detail
-
values
public static TaskState[] 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 (TaskState c : TaskState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskState 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 TaskState get(int value)
-
of
public static TaskState of(InstanceState instanceState)
-
allowedCheck
public static boolean allowedCheck(TaskState taskState)
-
-