public class CompositeMaxDurationTrigger extends Object implements Trigger, Externalizable
Constructor and Description |
---|
CompositeMaxDurationTrigger() |
CompositeMaxDurationTrigger(Date maxDurationTimestamp,
Trigger timerTrigger,
String[] calendarNames,
org.kie.api.runtime.Calendars calendars) |
Modifier and Type | Method and Description |
---|---|
Date |
getMaxDurationTimestamp() |
Date |
getTimerCurrentDate() |
Trigger |
getTimerTrigger() |
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) |
void |
setMaxDurationTimestamp(Date maxDurationTimestamp) |
void |
setTimerCurrentDate(Date timerCurrentDate) |
void |
setTimerTrigger(Trigger timerTrigger) |
void |
writeExternal(ObjectOutput out) |
public Date hasNextFireTime()
Trigger
hasNextFireTime
in interface Trigger
public Date nextFireTime()
Trigger
nextFireTime
in interface Trigger
public Date getTimerCurrentDate()
public void setTimerCurrentDate(Date timerCurrentDate)
public Trigger getTimerTrigger()
public void setTimerTrigger(Trigger timerTrigger)
public Date getMaxDurationTimestamp()
public void setMaxDurationTimestamp(Date maxDurationTimestamp)
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
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.