Enum DeploymentDistributionIntent

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

@Deprecated public enum DeploymentDistributionIntent extends Enum<DeploymentDistributionIntent> implements Intent
Deprecated.
DeploymentDistributionIntent is deprecated as of 8.3.0. A generalised way of distributing commands has been introduced in this version. The DeploymentCreateProcessor is now using this new way. This intent only remains to stay backwards compatible.
  • Enum Constant Details

  • Method Details

    • values

      public static DeploymentDistributionIntent[] values()
      Deprecated.
      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 DeploymentDistributionIntent valueOf(String name)
      Deprecated.
      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
    • getIntent

      public short getIntent()
      Deprecated.
    • from

      public static Intent from(short value)
      Deprecated.
    • value

      public short value()
      Deprecated.
      Specified by:
      value in interface Intent
    • isEvent

      public boolean isEvent()
      Deprecated.
      Specified by:
      isEvent in interface Intent
      Returns:
      true if this intent is used as an event, i.e. it's not a command or command rejection.