Package org.camunda.bpm.model.dmn
Enum HitPolicy
- java.lang.Object
-
- java.lang.Enum<HitPolicy>
-
- org.camunda.bpm.model.dmn.HitPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<HitPolicy>
public enum HitPolicy extends Enum<HitPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
COLLECT
FIRST
OUTPUT_ORDER
PRIORITY
RULE_ORDER
UNIQUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static HitPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static HitPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIQUE
public static final HitPolicy UNIQUE
-
FIRST
public static final HitPolicy FIRST
-
PRIORITY
public static final HitPolicy PRIORITY
-
ANY
public static final HitPolicy ANY
-
COLLECT
public static final HitPolicy COLLECT
-
RULE_ORDER
public static final HitPolicy RULE_ORDER
-
OUTPUT_ORDER
public static final HitPolicy OUTPUT_ORDER
-
-
Method Detail
-
values
public static HitPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HitPolicy c : HitPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HitPolicy 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 nameNullPointerException
- if the argument is null
-
-