Package com.axelor.meta.schema.workflows
Enum Class EventKind
- All Implemented Interfaces:
Serializable,Comparable<EventKind>,Constable
What a
<wait> or <boundary> is triggered by. A boundary accepts every kind a wait
does and more; the schema and the validator narrow each element's set.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat a trigger asks of the author, and what the runtime does with it.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfamily()This trigger's family: a switch with no default, so a new kind cannot belong to none.booleanparks()Whether a run can park waiting for this; a<wait>takes only these kinds.token()The token an author writes, for naming a kind back to them in a violation.static EventKindReturns the enum constant of this class with the specified name.static EventKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TIMER
-
CONDITION
-
ERROR
-
MESSAGE
-
SIGNAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
family
This trigger's family: a switch with no default, so a new kind cannot belong to none. -
token
The token an author writes, for naming a kind back to them in a violation. -
parks
public boolean parks()Whether a run can park waiting for this; a<wait>takes only these kinds.
-