Enum JobListenerEventType

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

public enum JobListenerEventType extends Enum<JobListenerEventType>
Enumerates listener event types associated with jobs
  • Enum Constant Details

    • UNSPECIFIED

      public static final JobListenerEventType UNSPECIFIED
      Default
    • START

      public static final JobListenerEventType START
      Represents the `start` event for an execution listener. This event type is used to indicate that the listener should be triggered at the start of an execution, such as the beginning of a process instance, sub-process or element (task, event, gateway).
    • END

      public static final JobListenerEventType END
      Represents the `end` event for an execution listener. This event type is used to indicate that the listener should be triggered at the end of an execution, such as the completion of a process instance, sub-process or element (task, event, gateway).
  • Method Details

    • values

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