Package com.aizuda.bpm.engine.core.enums
Enum InstanceEventType
- java.lang.Object
-
- java.lang.Enum<InstanceEventType>
-
- com.aizuda.bpm.engine.core.enums.InstanceEventType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InstanceEventType>
public enum InstanceEventType extends java.lang.Enum<InstanceEventType>
流程实例监听类型官网尊重知识产权,不允许非法使用,后果自负
- Since:
- 1.0
- Author:
- hubin
-
-
Enum Constant Summary
Enum Constants Enum Constant Description autoComplete自动完成autoReject自动驳回end结束forceComplete强制完成rejectComplete驳回完成revokeComplete撤销完成start发起suspend暂停,被主动挂起timeoutComplete超时完成
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneq(InstanceEventType eventType)booleanne(InstanceEventType eventType)static InstanceEventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InstanceEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
start
public static final InstanceEventType start
发起
-
suspend
public static final InstanceEventType suspend
暂停,被主动挂起
-
forceComplete
public static final InstanceEventType forceComplete
强制完成被终止的具体原因查看流程实例状态
InstanceState
-
rejectComplete
public static final InstanceEventType rejectComplete
驳回完成
-
revokeComplete
public static final InstanceEventType revokeComplete
撤销完成
-
timeoutComplete
public static final InstanceEventType timeoutComplete
超时完成
-
autoComplete
public static final InstanceEventType autoComplete
自动完成
-
autoReject
public static final InstanceEventType autoReject
自动驳回
-
end
public static final InstanceEventType end
结束
-
-
Method Detail
-
values
public static InstanceEventType[] 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 (InstanceEventType c : InstanceEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceEventType 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(InstanceEventType eventType)
-
ne
public boolean ne(InstanceEventType eventType)
-
-