|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.drools.tags.rule.RuleTagSupport | +--org.drools.tags.rule.ConsequenceTag
Construct a Consequence
for a Rule
.
Consequence
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ConsequenceTag()
Construct. |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
Consequence |
getConsequence()
Retrieve the Consequence . |
java.lang.String |
getVar()
Retrieve the variable in which to store the Consequence . |
void |
receiveConsequence(Consequence consequence)
Receive a Consequence . |
void |
setConsequence(Consequence consequence)
Set the Consequence . |
void |
setVar(java.lang.String var)
Set the variable in which to store the Consequence . |
Methods inherited from class org.drools.tags.rule.RuleTagSupport |
getAvailableDeclarations, getRule, getRuleSet, requiredAttribute |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.tags.rule.ConsequenceReceptor |
getAvailableDeclarations |
Constructor Detail |
public ConsequenceTag()
Method Detail |
public void setConsequence(Consequence consequence)
Consequence
.consequence
- The consequence.public Consequence getConsequence()
Consequence
.public void setVar(java.lang.String var)
Consequence
.var
- The variable name.public java.lang.String getVar()
Consequence
.public void receiveConsequence(Consequence consequence)
Consequence
.receiveConsequence
in interface ConsequenceReceptor
consequence
- The consequence.public void doTag(org.apache.commons.jelly.XMLOutput output) throws java.lang.Exception
output
- The output sink.java.lang.Exception
- If an error occurs while attempting
to perform this tag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |