public class ExpressionIntervalTimer extends BaseTimer implements Timer, Externalizable
| Constructor and Description |
|---|
ExpressionIntervalTimer() |
ExpressionIntervalTimer(TimerExpression startTime,
TimerExpression endTime,
int repeatLimit,
TimerExpression delay,
TimerExpression 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) |
Declaration[] |
getDelayDeclarations() |
Declaration[] |
getEndDeclarations() |
Declaration[] |
getPeriodDeclarations() |
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 ExpressionIntervalTimer()
public ExpressionIntervalTimer(TimerExpression startTime, TimerExpression endTime, int repeatLimit, TimerExpression delay, TimerExpression 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[] getDelayDeclarations()
public Declaration[] getPeriodDeclarations()
public Declaration[][] getTimerDeclarations(Map<String,Declaration> outerDeclrs)
getTimerDeclarations in class BaseTimerpublic 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–2020 JBoss by Red Hat. All rights reserved.