|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.drools.rule.FixedDuration
public class FixedDuration
A fixed truthness duration.
| Constructor Summary | |
|---|---|
FixedDuration()
Construct. |
|
FixedDuration(long ms)
Construct. |
|
| Method Summary | |
|---|---|
void |
addDays(long days)
Add days. |
void |
addHours(long hours)
Add hours. |
void |
addMinutes(long minutes)
Add minutes. |
void |
addSeconds(long seconds)
Add seconds. |
void |
addWeeks(long weeks)
Add weeks. |
long |
getDuration(Tuple tuple)
Retrieve the duration for which the conditions of this Tuple
must remain true before the rule will fire. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedDuration()
public FixedDuration(long ms)
seconds - Number of seconds.| Method Detail |
|---|
public void addSeconds(long seconds)
seconds - Number of seconds.public void addMinutes(long minutes)
minutes - Number of minutes.public void addHours(long hours)
hours - Number of hours.public void addDays(long days)
days - Number of days.public void addWeeks(long weeks)
weeks - Number of weeks.public long getDuration(Tuple tuple)
Duration
Retrieve the duration for which the conditions of this Tuple
must remain true before the rule will fire.
getDuration in interface DurationDuration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||