|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.base.BaseDuration
Implementation of the Duration interface
for specifying truthness duration.

| Constructor Summary | |
BaseDuration(Rule rule,
long seconds)
Constructor. |
|
| Method Summary | |
long |
getDuration(Tuple tuple)
Retrieves the duration for which the conditions of this Tuple must remain true before the rule will fire. |
Rule |
getRule()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseDuration(Rule rule,
long seconds)
seconds - the number of seconds of the duration| Method Detail |
public long getDuration(Tuple tuple)
Tuple must remain true before the rule will fire.
getDuration in interface Durationtuple - the Tuple
public Rule getRule()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||