Enum Class BusinessKeyStrategies

java.lang.Object
java.lang.Enum<BusinessKeyStrategies>
dev.dsf.bpe.v2.activity.task.BusinessKeyStrategies
All Implemented Interfaces:
BusinessKeyStrategy, Serializable, Comparable<BusinessKeyStrategies>, Constable

public enum BusinessKeyStrategies extends Enum<BusinessKeyStrategies> implements BusinessKeyStrategy
  • Enum Constant Details

    • SAME

      public static final BusinessKeyStrategies SAME
      Uses the business-key from the current process instance when sending Task resources.

      The target can reply to this process instance with the send key.

    • ALTERNATIVE

      public static final BusinessKeyStrategies ALTERNATIVE
      Generates an alternative buisness-key for the current process instance and uses the alternative when sending Task resources.

      This can be used to hide the current business-key from the target, but allows the target to reply using the send alternative business-key.

    • NEW

      public static final BusinessKeyStrategies NEW
      Generates a new business-key for every Task send.

      This does not allow the target to reply to the current process instance.

  • Method Details

    • values

      public static BusinessKeyStrategies[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BusinessKeyStrategies valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null