public class IntervalTimer extends BaseTimer implements Timer, Externalizable
| Constructor and Description |
|---|
IntervalTimer() |
IntervalTimer(MVELObjectExpression startTime,
MVELObjectExpression endTime,
int repeatLimit,
long delay,
long period) |
| Modifier and Type | Method and Description |
|---|---|
ConditionalElement |
clone()
Returns a clone from itself
|
Trigger |
createTrigger(long timestamp,
String[] calendarNames,
org.kie.api.runtime.Calendars calendars) |
Trigger |
createTrigger(long timestamp,
Tuple leftTuple,
DefaultJobHandle jh,
String[] calendarNames,
org.kie.api.runtime.Calendars calendars,
Declaration[][] declrs,
InternalWorkingMemory wm) |
boolean |
equals(Object obj) |
long |
getDelay() |
Declaration[] |
getEndDeclarations() |
long |
getPeriod() |
Declaration[] |
getStartDeclarations() |
Declaration[][] |
getTimerDeclarations(Map<String,Declaration> outerDeclrs) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
getInnerDeclarations, getNestedElements, getOuterDeclarations, isPatternScopeDelimiter, resolveDeclaration, sortDeclarationsfinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetInnerDeclarations, getNestedElements, getOuterDeclarations, isPatternScopeDelimiter, resolveDeclarationpublic IntervalTimer()
public IntervalTimer(MVELObjectExpression startTime, MVELObjectExpression endTime, int repeatLimit, long delay, long period)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic Declaration[] getStartDeclarations()
public Declaration[] getEndDeclarations()
public Declaration[][] getTimerDeclarations(Map<String,Declaration> outerDeclrs)
getTimerDeclarations in class BaseTimerpublic long getDelay()
public long getPeriod()
public Trigger createTrigger(long timestamp, Tuple leftTuple, DefaultJobHandle jh, String[] calendarNames, org.kie.api.runtime.Calendars calendars, Declaration[][] declrs, InternalWorkingMemory wm)
createTrigger in interface Timerpublic Trigger createTrigger(long timestamp, String[] calendarNames, org.kie.api.runtime.Calendars calendars)
createTrigger in interface Timerpublic ConditionalElement clone()
RuleConditionElementclone in interface RuleConditionElementclone in class ConditionalElementCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.