Package com.yworkflow.definition.model
Enum Class FunctionType
- All Implemented Interfaces:
Serializable,Comparable<FunctionType>,Constable
Enumeration of function types that define when and where workflow functions are executed.
FunctionType provides a comprehensive set of execution points throughout the workflow lifecycle,
allowing for fine-grained control over when custom business logic is executed.
- Since:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFunction executed after a common transition.Function executed after a conditional result.Function executed after a default result.Function executed after a global transition.Function executed after an initial transition.Function executed after leaving a state.Function executed after a state transition.Function executed before a common transition.Function executed before a conditional result.Function executed before a default result.Function executed before a global transition.Function executed before an initial transition.Function executed before entering a state.Function executed before a state transition.Function executed in response to a trigger event. -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionTypeReturns the enum constant of this class with the specified name.static FunctionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PreState
Function executed before entering a state. -
PostState
Function executed after leaving a state. -
PreStateTransition
Function executed before a state transition. -
PostStateTransition
Function executed after a state transition. -
PreInitialTransition
Function executed before an initial transition. -
PostInitialTransition
Function executed after an initial transition. -
PreGlobalTransition
Function executed before a global transition. -
PostGlobalTransition
Function executed after a global transition. -
PreCommonTransition
Function executed before a common transition. -
PostCommonTransition
Function executed after a common transition. -
PreConditionalResult
Function executed before a conditional result. -
PostConditionalResult
Function executed after a conditional result. -
PreDefaultResult
Function executed before a default result. -
PostDefaultResult
Function executed after a default result. -
Trigger
Function executed in response to a trigger event.
-
-
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
-