Package dev.dsf.bpe.v2.activity.task
Enum Class BusinessKeyStrategies
- All Implemented Interfaces:
BusinessKeyStrategy
,Serializable
,Comparable<BusinessKeyStrategies>
,Constable
public enum BusinessKeyStrategies
extends Enum<BusinessKeyStrategies>
implements BusinessKeyStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGenerates an alternative buisness-key for the current process instance and uses the alternative when sending Task resources.Generates a new business-key for every Task send.Uses the business-key from the current process instance when sending Task resources. -
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessKeyStrategies
Returns the enum constant of this class with the specified name.static BusinessKeyStrategies[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface dev.dsf.bpe.v2.activity.task.BusinessKeyStrategy
get
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException
- if the argument is null
-