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.
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the L and R Unlinking option
|
Modifier and Type | Method and Description |
---|---|
static RuleEngineOption |
determineOption(String val) |
String |
getPropertyName() |
boolean |
isLRUnlinkingEnabled() |
String |
toString() |
static RuleEngineOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleEngineOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleEngineOption PHREAK
public static final RuleEngineOption RETEOO
public static final String PROPERTY_NAME
public static RuleEngineOption[] values()
for (RuleEngineOption c : RuleEngineOption.values()) System.out.println(c);
public static RuleEngineOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPropertyName()
getPropertyName
in interface org.kie.api.conf.Option
public boolean isLRUnlinkingEnabled()
public static RuleEngineOption determineOption(String val)
public String toString()
toString
in class Enum<RuleEngineOption>
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.