java.lang.Object
java.lang.Enum<JobKind>
io.camunda.zeebe.protocol.record.value.JobKind
All Implemented Interfaces:
Serializable, Comparable<JobKind>, java.lang.constant.Constable

public enum JobKind extends Enum<JobKind>
Enumerates the kinds of jobs managed by Zeebe
  • Enum Constant Details

    • BPMN_ELEMENT

      public static final JobKind 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

      public static final JobKind 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

      public static final JobKind 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

      public static JobKind[] 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

      public static JobKind valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null