|
||||||||||
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.FixedDurationTag
Construct a FixedDuration
for a Rule
.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
FixedDurationTag()
Construct. |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
void |
setDays(long days)
Set the number of days. |
void |
setHours(long hours)
Set the number of hours. |
void |
setMinutes(long minutes)
Set the number of minutes. |
void |
setSeconds(long seconds)
Set the number of seconds. |
void |
setWeeks(long weeks)
Set the number of weeks. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, 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 FixedDurationTag()
Method Detail |
public void setSeconds(long seconds)
seconds
- Number of seconds.public void setMinutes(long minutes)
minutes
- Number of minutes.public void setHours(long hours)
hours
- Number of hours.public void setDays(long days)
days
- Number of days.public void setWeeks(long weeks)
weeks
- Number of weeks.public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
doTag
in class org.apache.commons.jelly.TagSupport
output
- The output sink.org.apache.commons.jelly.JellyTagException
- 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 |