|
Drools :: Core 6.0.0.Beta5 | |||||||||
| 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.ConditionalBranch
public class ConditionalBranch
| Constructor Summary | |
|---|---|
ConditionalBranch()
|
|
ConditionalBranch(EvalCondition condition,
NamedConsequence consequence,
ConditionalBranch elseBranch)
|
|
| Method Summary | |
|---|---|
ConditionalBranch |
clone()
There is not reason to clone this object since it is stateless. |
boolean |
equals(Object obj)
|
ConditionalBranch |
getElseBranch()
|
EvalCondition |
getEvalCondition()
|
Map<String,Declaration> |
getInnerDeclarations()
It is not possible to declare any new variables, so always return an Empty Map |
NamedConsequence |
getNamedConsequence()
|
List<RuleConditionElement> |
getNestedElements()
It is not possible to nest elements inside a conditional branch, so always return an empty list. |
Map<String,Declaration> |
getOuterDeclarations()
It is not possible to declare and export any variables, so always return an empty map |
int |
hashCode()
|
boolean |
invokesConsequence(String consequenceName)
|
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits a pattern visibility scope. |
void |
readExternal(ObjectInput in)
|
Declaration |
resolveDeclaration(String identifier)
Not possible to resolve any declaration, so always return null. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionalBranch()
public ConditionalBranch(EvalCondition condition,
NamedConsequence consequence,
ConditionalBranch elseBranch)
| 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 ConditionalBranch clone()
clone in interface RuleConditionElementclone in class ConditionalElementorg.kie.rule.ConditionalElement#clone()public Map<String,Declaration> getInnerDeclarations()
getInnerDeclarations in interface RuleConditionElementorg.kie.rule.RuleConditionElement#getInnerDeclarations()public List<RuleConditionElement> getNestedElements()
getNestedElements in interface RuleConditionElementorg.kie.rule.RuleConditionElement#getNestedElements()public Map<String,Declaration> getOuterDeclarations()
getOuterDeclarations in interface RuleConditionElementorg.kie.rule.RuleConditionElement#getOuterDeclarations()public Declaration resolveDeclaration(String identifier)
resolveDeclaration in interface RuleConditionElementorg.kie.rule.RuleConditionElement#resolveDeclaration(java.lang.String)public boolean invokesConsequence(String consequenceName)
invokesConsequence in interface NamedConsequenceInvokerpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic boolean isPatternScopeDelimiter()
RuleConditionElement
isPatternScopeDelimiter in interface RuleConditionElementpublic EvalCondition getEvalCondition()
public NamedConsequence getNamedConsequence()
public ConditionalBranch getElseBranch()
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||