org.drools.tags.rule
Class FixedDurationTag
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.drools.tags.rule.FixedDurationTag
- All Implemented Interfaces:
- org.apache.commons.jelly.Tag
- public class FixedDurationTag
- extends org.apache.commons.jelly.TagSupport
Construct a FixedDuration
for a Rule
.
- Version:
- $Id: FixedDurationTag.java,v 1.1 2002/08/22 07:42:39 bob Exp $
- Author:
- bob mcwhirter
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
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 |
FixedDurationTag
public FixedDurationTag()
- Construct.
setSeconds
public void setSeconds(long seconds)
- Set the number of seconds.
- Parameters:
seconds
- Number of seconds.
setMinutes
public void setMinutes(long minutes)
- Set the number of minutes.
- Parameters:
minutes
- Number of minutes.
setHours
public void setHours(long hours)
- Set the number of hours.
- Parameters:
hours
- Number of hours.
setDays
public void setDays(long days)
- Set the number of days.
- Parameters:
days
- Number of days.
setWeeks
public void setWeeks(long weeks)
- Set the number of weeks.
- Parameters:
weeks
- Number of weeks.
doTag
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws java.lang.Exception
- Perform this tag.
- Parameters:
output
- The output sink.- Throws:
java.lang.Exception
- If an error occurs while attempting
to perform this tag.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.