org.kie.internal.builder.conf
Enum RuleEngineOption
java.lang.Object
java.lang.Enum<RuleEngineOption>
org.kie.internal.builder.conf.RuleEngineOption
- All Implemented Interfaces:
- Serializable, Comparable<RuleEngineOption>, org.kie.api.conf.KieBaseOption, org.kie.api.conf.Option, org.kie.api.conf.SingleValueKieBaseOption
public enum RuleEngineOption
- extends Enum<RuleEngineOption>
- implements org.kie.api.conf.SingleValueKieBaseOption
An Enum for switching between Phreak and Reteoo algorithms.
drools.ruleEngine = <phreak|reteoo>
DEFAULT = phreak.
PHREAK
public static final RuleEngineOption PHREAK
RETEOO
public static final RuleEngineOption RETEOO
PROPERTY_NAME
public static final String PROPERTY_NAME
- The property name for the L and R Unlinking option
- See Also:
- Constant Field Values
values
public static RuleEngineOption[] 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 (RuleEngineOption c : RuleEngineOption.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RuleEngineOption 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 name
NullPointerException - if the argument is null
getPropertyName
public String getPropertyName()
-
- Specified by:
getPropertyName in interface org.kie.api.conf.Option
isLRUnlinkingEnabled
public boolean isLRUnlinkingEnabled()
determineOption
public static RuleEngineOption determineOption(String val)
toString
public String toString()
- Overrides:
toString in class Enum<RuleEngineOption>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.