| java.lang.Object com.sun.perseus.model.TimeCondition com.sun.perseus.model.EventBaseCondition com.sun.perseus.model.RepeatCondition
RepeatCondition | final public class RepeatCondition extends EventBaseCondition (Code) | | A RepeatCondition generates a TimeInstance
everytime the associated repeat event occurs with the expected
repeatCount value.
version: $Id: RepeatCondition.java,v 1.3 2006/06/29 10:47:34 ln156897 Exp $ |
Field Summary | |
int | repeatCount The repeatCount which triggers the condition. |
Constructor Summary | |
public | RepeatCondition(TimedElementSupport timedElement, boolean isBegin, String eventBaseId, long offset, int repeatCount) Parameters: timedElement - the associated TimedElementSupport . |
Method Summary | |
public void | handleEvent(Event evt) Implementation of the EventListener interface. | protected String | toStringTrait() Converts this RepeatCondition to a String trait. |
repeatCount | int repeatCount(Code) | | The repeatCount which triggers the condition.
|
RepeatCondition | public RepeatCondition(TimedElementSupport timedElement, boolean isBegin, String eventBaseId, long offset, int repeatCount)(Code) | | Parameters: timedElement - the associated TimedElementSupport . Should not be null. Parameters: isBegin - defines whether this condition is for a begin list. Parameters: eventBaseId - the id of the element which generates events this listener listens to. should not be null. Parameters: offset - offset from the sync base. This means that time instancessynchronized on the syncBase begin or end time are offset by this amount. Parameters: repeatCount - only when the eventBase generates a repeat event withthis repeatCount will a TimeInstance be generated. |
handleEvent | public void handleEvent(Event evt)(Code) | | Implementation of the EventListener interface.
This is a simple filtered version of the handleEvent implementation
in EventBaseCondition .
Parameters: evt - the event that occured |
toStringTrait | protected String toStringTrait()(Code) | | Converts this RepeatCondition to a String trait.
a string describing this TimeCondition |
|
|