|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.builder.conf.EvaluatorOption
public class EvaluatorOption
A class for the evaluators configuration. Drools supports custom evaluators. After implementing an evaluator use this option class to register it to the knowledge builder.
Field Summary | |
---|---|
static String |
PROPERTY_NAME
The prefix for the property name for evaluators |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static EvaluatorOption |
get(String key,
EvaluatorDefinition evaluator)
This is a factory method for this EvaluatorOption configuration. |
EvaluatorDefinition |
getEvaluatorDefinition()
Returns the accumulate function instance |
String |
getName()
Returns the name of the dialect configured as default |
String |
getPropertyName()
Returns the property name for this option |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTY_NAME
Method Detail |
---|
public static EvaluatorOption get(String key, EvaluatorDefinition evaluator)
key
- the key of the evaluator to be configuredevaluator
- the evaluator definition
public String getPropertyName()
getPropertyName
in interface Option
public String getName()
public EvaluatorDefinition getEvaluatorDefinition()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |