public class MethodRule extends AbstractRule
aoSession, engine| Constructor and Description |
|---|
MethodRule(RuleEngine engine,
AoSession aoSession)
Create an abstract rule.
|
MethodRule(RuleEngine engine,
AoSession aoSession,
java.util.Collection<AbstractRule> collection)
Create an abstract rule and initialize the child list with the given collection elements.
|
| Modifier and Type | Method and Description |
|---|---|
NameValueUnit |
getValue()
Get the named value from rule.
|
void |
setMethod(RuleMethod method)
Set the object that is able to deliver the rule value.
|
void |
setValue(NameValueUnit nvu)
Get the named value from rule.
|
add, executePostMethods, executePreMethods, get, getEngine, getId, getMessenger, getPointTo, getSession, getTransformer, isPedantic, remove, set, setId, setMethods, setMethods, setPedantic, setPointTo, size, toStringadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArraypublic MethodRule(RuleEngine engine, AoSession aoSession)
public MethodRule(RuleEngine engine, AoSession aoSession, java.util.Collection<AbstractRule> collection)
collection - the initial child list.public void setMethod(RuleMethod method)
method - a ext.RuleMethod implementationpublic void setValue(NameValueUnit nvu)
setValue in class AbstractRulenvu - The name value of the rule.public NameValueUnit getValue()
getValue in class AbstractRule