Enum JobKind
- All Implemented Interfaces:
Serializable,Comparable<JobKind>,java.lang.constant.Constable
Enumerates the kinds of jobs managed by Zeebe
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents jobs associated with BPMN elements.Represents jobs specifically created for execution listeners.Represents jobs created for task listeners. -
Method Summary
-
Enum Constant Details
-
BPMN_ELEMENT
Represents jobs associated with BPMN elements. These are typically service tasks or any other BPMN element that can be executed as part of a workflow instance. This is the default type for backward compatibility and general-purpose tasks. -
EXECUTION_LISTENER
Represents jobs specifically created for execution listeners. These jobs are triggered by the workflow engine in response to execution events in the BPMN process, such as starting or completing a task or an entire process. -
TASK_LISTENER
Represents jobs created for task listeners. These jobs are associated with specific lifecycle events of BPMN tasks, such as task creation, assignment, or completion. Task listeners allow for custom logic to be executed in response to these events.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-