Package com.aizuda.bpm.engine.core.enums
Enum TaskEventType
- java.lang.Object
-
- java.lang.Enum<TaskEventType>
-
- com.aizuda.bpm.engine.core.enums.TaskEventType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TaskEventType>
public enum TaskEventType extends java.lang.Enum<TaskEventType>
流程任务事件监听类型官网尊重知识产权,不允许非法使用,后果自负
- Since:
- 1.0
- Author:
- lizhongyuan
-
-
Enum Constant Summary
Enum Constants Enum Constant Description addCountersign会签加签addTaskActor任务加签assignment分配autoComplete自动审批完成autoJump自动跳转autoReject自动审批拒绝callProcess调用外部流程任务【办理子流程】cc抄送claimDepartment部门认领claimRole角色认领complete完成create创建createCc手动创建抄送任务delegateResolve委派任务解决delete删除end结束jump跳转reApproveCreate重新审批创建reApproveJump重新审批跳转reclaim拿回未执行任务recreate再创建,仅用于流程回退reject驳回至上一步处理rejectJump驳回跳转removeTaskActor任务减签restart重新发起resume唤醒历史任务revoke撤销routeJump路由跳转start发起startAsDraft发起暂存草稿terminate终止timeout超时trigger触发器任务update更新withdraw撤回指定任务
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneq(TaskEventType eventType)booleanne(TaskEventType eventType)static TaskEventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TaskEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
start
public static final TaskEventType start
发起
-
startAsDraft
public static final TaskEventType startAsDraft
发起暂存草稿
-
restart
public static final TaskEventType restart
重新发起
-
create
public static final TaskEventType create
创建
-
recreate
public static final TaskEventType recreate
再创建,仅用于流程回退
-
cc
public static final TaskEventType cc
抄送
-
createCc
public static final TaskEventType createCc
手动创建抄送任务
-
assignment
public static final TaskEventType assignment
分配
-
delegateResolve
public static final TaskEventType delegateResolve
委派任务解决
-
addCountersign
public static final TaskEventType addCountersign
会签加签
-
addTaskActor
public static final TaskEventType addTaskActor
任务加签
-
removeTaskActor
public static final TaskEventType removeTaskActor
任务减签
-
reject
public static final TaskEventType reject
驳回至上一步处理
-
claimRole
public static final TaskEventType claimRole
角色认领
-
claimDepartment
public static final TaskEventType claimDepartment
部门认领
-
reclaim
public static final TaskEventType reclaim
拿回未执行任务
-
withdraw
public static final TaskEventType withdraw
撤回指定任务
-
resume
public static final TaskEventType resume
唤醒历史任务
-
complete
public static final TaskEventType complete
完成
-
revoke
public static final TaskEventType revoke
撤销
-
terminate
public static final TaskEventType terminate
终止
-
update
public static final TaskEventType update
更新
-
delete
public static final TaskEventType delete
删除
-
callProcess
public static final TaskEventType callProcess
调用外部流程任务【办理子流程】
-
timeout
public static final TaskEventType timeout
超时
-
jump
public static final TaskEventType jump
跳转
-
autoJump
public static final TaskEventType autoJump
自动跳转
-
rejectJump
public static final TaskEventType rejectJump
驳回跳转
-
routeJump
public static final TaskEventType routeJump
路由跳转
-
reApproveJump
public static final TaskEventType reApproveJump
重新审批跳转
-
reApproveCreate
public static final TaskEventType reApproveCreate
重新审批创建
-
autoComplete
public static final TaskEventType autoComplete
自动审批完成
-
autoReject
public static final TaskEventType autoReject
自动审批拒绝
-
trigger
public static final TaskEventType trigger
触发器任务
-
end
public static final TaskEventType end
结束
-
-
Method Detail
-
values
public static TaskEventType[] 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 (TaskEventType c : TaskEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskEventType 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
-
eq
public boolean eq(TaskEventType eventType)
-
ne
public boolean ne(TaskEventType eventType)
-
-