|
|||||||||||
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.rule.FixedDurationTag
Construct a FixedDuration
for a Rule
.
Field Summary |
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, 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 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 |