Enum TimerIntent

java.lang.Object
java.lang.Enum<TimerIntent>
io.camunda.zeebe.protocol.record.intent.TimerIntent
All Implemented Interfaces:
Intent, ProcessInstanceRelatedIntent, Serializable, Comparable<TimerIntent>, java.lang.constant.Constable

public enum TimerIntent extends Enum<TimerIntent> implements ProcessInstanceRelatedIntent
  • Enum Constant Details

    • CREATED

      public static final TimerIntent CREATED
    • TRIGGER

      public static final TimerIntent TRIGGER
    • TRIGGERED

      public static final TimerIntent TRIGGERED
    • CANCEL

      @Deprecated public static final TimerIntent CANCEL
      Deprecated.
      for removal since 8.1.0, removal can only happen if we break backwards compatibility with older versions because Cancel command can still exist on log streams
    • CANCELED

      public static final TimerIntent CANCELED
  • Method Details

    • values

      public static TimerIntent[] 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 TimerIntent 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
    • value

      public short value()
      Specified by:
      value in interface Intent
    • from

      public static Intent from(short value)
    • shouldBlacklistInstanceOnError

      public boolean shouldBlacklistInstanceOnError()
      Specified by:
      shouldBlacklistInstanceOnError in interface ProcessInstanceRelatedIntent