|
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.NamedConsequence
public class NamedConsequence
| Constructor Summary | |
|---|---|
NamedConsequence()
|
|
NamedConsequence(String name,
boolean breaking)
|
|
| Method Summary | |
|---|---|
NamedConsequence |
clone()
There is not reason to clone this object since it is stateless. |
boolean |
equals(Object obj)
|
String |
getConsequenceName()
|
Map<String,Declaration> |
getInnerDeclarations()
It is not possible to declare any new variables, so always return an Empty Map |
List<RuleConditionElement> |
getNestedElements()
It is not possible to nest elements inside an entry point, 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 |
isBreaking()
|
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 NamedConsequence()
public NamedConsequence(String name,
boolean breaking)
| 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 NamedConsequence 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 String getConsequenceName()
public boolean invokesConsequence(String consequenceName)
invokesConsequence in interface NamedConsequenceInvokerpublic boolean isBreaking()
public 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 RuleConditionElement
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||