Enum JSITHitPolicy
- java.lang.Object
-
- java.lang.Enum<JSITHitPolicy>
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITHitPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<JSITHitPolicy>
@JsType(name="THitPolicy") public enum JSITHitPolicy extends Enum<JSITHitPolicy>
JSInterop adapter forTHitPolicy
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYCOLLECTFIRSTOUTPUT_ORDERPRIORITYRULE_ORDERUNIQUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()static JSITHitPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static JSITHitPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIQUE
public static final JSITHitPolicy UNIQUE
-
FIRST
public static final JSITHitPolicy FIRST
-
PRIORITY
public static final JSITHitPolicy PRIORITY
-
ANY
public static final JSITHitPolicy ANY
-
COLLECT
public static final JSITHitPolicy COLLECT
-
RULE_ORDER
public static final JSITHitPolicy RULE_ORDER
-
OUTPUT_ORDER
public static final JSITHitPolicy OUTPUT_ORDER
-
-
Method Detail
-
values
public static JSITHitPolicy[] 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 (JSITHitPolicy c : JSITHitPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JSITHitPolicy 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
-
value
public String value()
-
-