public class DurationTimer extends BaseTimer implements Timer, Externalizable
Constructor and Description |
---|
DurationTimer() |
DurationTimer(long duration) |
Modifier and Type | Method and Description |
---|---|
ConditionalElement |
clone()
Returns a clone from itself
|
Trigger |
createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
createTrigger(long timestamp,
LeftTuple leftTuple,
DefaultJobHandle jh,
String[] calendarNames,
org.kie.api.runtime.Calendars calendars,
Declaration[][] declrs,
InternalWorkingMemory wm) |
Trigger |
createTrigger(long timestamp,
String[] calendarNames,
org.kie.api.runtime.Calendars calendars) |
boolean |
equals(Object obj) |
long |
getDuration() |
Declaration |
getEventFactHandleDeclaration() |
Declaration[][] |
getTimerDeclarations(Map<String,Declaration> outerDeclrs) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setEventFactHandle(Declaration eventFactHandle) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
getInnerDeclarations, getNestedElements, getOuterDeclarations, isPatternScopeDelimiter, resolveDeclaration, sortDeclarations
finalize, getClass, notify, notifyAll, wait, wait, wait
getInnerDeclarations, getNestedElements, getOuterDeclarations, isPatternScopeDelimiter, resolveDeclaration
public DurationTimer()
public DurationTimer(long duration)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public long getDuration()
public Declaration[][] getTimerDeclarations(Map<String,Declaration> outerDeclrs)
getTimerDeclarations
in class BaseTimer
public Trigger createTrigger(Activation item, InternalWorkingMemory wm)
createTrigger
in interface Timer
public Trigger createTrigger(long timestamp, LeftTuple leftTuple, DefaultJobHandle jh, String[] calendarNames, org.kie.api.runtime.Calendars calendars, Declaration[][] declrs, InternalWorkingMemory wm)
createTrigger
in interface Timer
public Trigger createTrigger(long timestamp, String[] calendarNames, org.kie.api.runtime.Calendars calendars)
createTrigger
in interface Timer
public ConditionalElement clone()
RuleConditionElement
clone
in interface RuleConditionElement
clone
in class ConditionalElement
public void setEventFactHandle(Declaration eventFactHandle)
public Declaration getEventFactHandleDeclaration()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.