public class PointInTimeTrigger extends Object implements Trigger
| Constructor and Description |
|---|
PointInTimeTrigger() |
PointInTimeTrigger(long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
static PointInTimeTrigger |
createPointInTimeTrigger(long timestamp,
Collection<org.kie.api.time.Calendar> calendars) |
Date |
hasNextFireTime()
This method is used to query the trigger about the existence of a
possible next fire time, but WITHOUT changing any internal state
of the trigger.
|
Date |
nextFireTime()
This method returns the date of the next fire time and updates
the internal state of the Trigger to the following fire time
if one exists.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitializepublic PointInTimeTrigger()
public PointInTimeTrigger(long timestamp)
public static PointInTimeTrigger createPointInTimeTrigger(long timestamp, Collection<org.kie.api.time.Calendar> calendars)
public Date hasNextFireTime()
TriggerhasNextFireTime in interface Triggerpublic Date nextFireTime()
TriggernextFireTime in interface Triggerpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
IOExceptionCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.