|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.rule.ConditionalElement
org.drools.core.rule.EvalCondition
public class EvalCondition
| Nested Class Summary | |
|---|---|
static class |
EvalCondition.SafeEvalExpression
|
| Constructor Summary | |
|---|---|
EvalCondition()
|
|
EvalCondition(Declaration[] requiredDeclarations)
|
|
EvalCondition(EvalExpression eval,
Declaration[] requiredDeclarations)
|
|
| Method Summary | |
|---|---|
EvalCondition |
clone()
Returns a clone from itself |
Object |
createContext()
|
boolean |
equals(Object object)
|
EvalExpression |
getEvalExpression()
|
Map |
getInnerDeclarations()
Returns a Map of declarations that are visible inside this conditional element |
List |
getNestedElements()
Returs a list of RuleConditionElement's that are nested inside the current element |
Map |
getOuterDeclarations()
Returns a Map of declarations that are visible outside this conditional element. |
Declaration[] |
getRequiredDeclarations()
|
int |
hashCode()
|
boolean |
isAllowed(Tuple tuple,
WorkingMemory workingMemory,
Object context)
|
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits a pattern visibility scope. |
void |
readExternal(ObjectInput in)
|
void |
replaceDeclaration(Declaration declaration,
Declaration resolved)
|
Declaration |
resolveDeclaration(String identifier)
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. |
void |
setEvalExpression(EvalExpression expression)
|
String |
toString()
|
void |
wire(Object object)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EvalCondition()
public EvalCondition(Declaration[] requiredDeclarations)
public EvalCondition(EvalExpression eval,
Declaration[] requiredDeclarations)
| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic EvalExpression getEvalExpression()
public void wire(Object object)
wire in interface Wireablepublic void setEvalExpression(EvalExpression expression)
public Declaration[] getRequiredDeclarations()
public Object createContext()
public boolean isAllowed(Tuple tuple,
WorkingMemory workingMemory,
Object context)
public EvalCondition clone()
RuleConditionElement
clone in interface RuleConditionElementclone in class ConditionalElementpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectpublic Map getInnerDeclarations()
RuleConditionElement
getInnerDeclarations in interface RuleConditionElementpublic Map getOuterDeclarations()
RuleConditionElement
getOuterDeclarations in interface RuleConditionElementpublic List getNestedElements()
RuleConditionElement
getNestedElements in interface RuleConditionElementpublic boolean isPatternScopeDelimiter()
RuleConditionElement
isPatternScopeDelimiter in interface RuleConditionElementpublic Declaration resolveDeclaration(String identifier)
RuleConditionElement
resolveDeclaration in interface RuleConditionElement
public void replaceDeclaration(Declaration declaration,
Declaration resolved)
public String toString()
toString in class Object
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||