|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.drools.tags.knowledge.KnowledgeTag
Work in a knowledge session.
WorkingMemory
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
KnowledgeTag()
Construct. |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
WorkingMemory |
getMemory()
Retrieve the WorkingMemory . |
RuleBase |
getRules()
Retrieve the RuleBase . |
boolean |
getTransactional()
Retrieve the transactionality flag. |
java.lang.String |
getVar()
Retrieve the variable in which to store the WorkingMemory . |
void |
setMemory(WorkingMemory memory)
Set the WorkingMemory . |
void |
setRules(RuleBase ruleBase)
Set the RuleBase . |
void |
setTransactional(boolean transactional)
Set the transactionality flag. |
void |
setVar(java.lang.String var)
Set the variable in which to store the WorkingMemory . |
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 |
Constructor Detail |
public KnowledgeTag()
Method Detail |
public void setTransactional(boolean transactional)
transactional
- Transactionality flag.public boolean getTransactional()
public void setVar(java.lang.String var)
WorkingMemory
.
var
- The variable name.public java.lang.String getVar()
WorkingMemory
.
public void setMemory(WorkingMemory memory)
WorkingMemory
.
memory
- The working memory.public WorkingMemory getMemory()
WorkingMemory
.
public void setRules(RuleBase ruleBase)
RuleBase
.
ruleBase
- The rule-base.public RuleBase getRules()
RuleBase
.
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |