org.drools.time.impl
Class CompositeMaxDurationTimer
java.lang.Object
org.drools.time.impl.CompositeMaxDurationTimer
- All Implemented Interfaces:
- Serializable, Timer
public class CompositeMaxDurationTimer
- extends Object
- implements Timer
While a rule might have multiple DurationTimers, due to LHS CEP rules, there can only ever
be one timer attribute. Duration rules should be considered a priority over the one timer rule.
So the Timer cannot fire, until the maximum duration has passed.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeMaxDurationTimer
public CompositeMaxDurationTimer()
addDurationTimer
public void addDurationTimer(DurationTimer durationTimer)
setTimer
public void setTimer(Timer timer)
createTrigger
public Trigger createTrigger(long timestamp,
String[] calendarNames,
org.drools.runtime.Calendars calendars)
- Specified by:
createTrigger
in interface Timer
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.