org.drools.semantics.base
Class BaseDuration

java.lang.Object
  extended byorg.drools.semantics.base.BaseDuration
All Implemented Interfaces:
Duration

public class BaseDuration
extends Object
implements Duration


Constructor Summary
BaseDuration(long seconds)
           
 
Method Summary
 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

BaseDuration

public BaseDuration(long seconds)
Method Detail

getDuration

public long getDuration(Tuple tuple)
Description copied from interface: Duration

Retrieve the duration for which the conditions of this Tuple must remain true before the rule will fire.

Specified by:
getDuration in interface Duration
Parameters:
tuple -
Returns:
the duration


Copyright © 2001-2004 The Codehaus. All Rights Reserved.