Package org.kie.internal.conf
Enum ParallelExecutionOption
- java.lang.Object
-
- java.lang.Enum<ParallelExecutionOption>
-
- org.kie.internal.conf.ParallelExecutionOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParallelExecutionOption>
,org.kie.api.conf.KieBaseOption
,org.kie.api.conf.Option
,org.kie.api.conf.SingleValueKieBaseOption
,org.kie.api.conf.SingleValueOption
,org.kie.api.conf.SingleValueRuleBaseOption
public enum ParallelExecutionOption extends java.lang.Enum<ParallelExecutionOption> implements org.kie.api.conf.SingleValueRuleBaseOption
Determines is the engine should evaluate rules and execute their consequences sequentially or in parallel. drools.parallelExecution = <sequential|parallel_evaluation|fully_parallel> DEFAULT = SEQUENTIAL
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLY_PARALLEL
PARALLEL_EVALUATION
SEQUENTIAL
-
Field Summary
Fields Modifier and Type Field Description static org.kie.api.conf.OptionKey<ParallelExecutionOption>
KEY
static java.lang.String
PROPERTY_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParallelExecutionOption
determineParallelExecution(java.lang.String value)
java.lang.String
getPropertyName()
boolean
isParallel()
java.lang.String
toExternalForm()
static ParallelExecutionOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ParallelExecutionOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEQUENTIAL
public static final ParallelExecutionOption SEQUENTIAL
-
PARALLEL_EVALUATION
public static final ParallelExecutionOption PARALLEL_EVALUATION
-
FULLY_PARALLEL
public static final ParallelExecutionOption FULLY_PARALLEL
-
-
Field Detail
-
PROPERTY_NAME
public static final java.lang.String PROPERTY_NAME
- See Also:
- Constant Field Values
-
KEY
public static org.kie.api.conf.OptionKey<ParallelExecutionOption> KEY
-
-
Method Detail
-
values
public static ParallelExecutionOption[] 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 (ParallelExecutionOption c : ParallelExecutionOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParallelExecutionOption valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getPropertyName
public java.lang.String getPropertyName()
- Specified by:
getPropertyName
in interfaceorg.kie.api.conf.Option
-
determineParallelExecution
public static ParallelExecutionOption determineParallelExecution(java.lang.String value)
-
isParallel
public boolean isParallel()
-
toExternalForm
public java.lang.String toExternalForm()
-
-