org.ow2.orchestra.pvm.internal.job
Class TimerImpl
java.lang.Object
org.ow2.orchestra.pvm.internal.job.JobImpl<Boolean>
org.ow2.orchestra.pvm.internal.job.TimerImpl
- All Implemented Interfaces:
- Serializable, Command<Boolean>, Job, Timer
public class TimerImpl
- extends JobImpl<Boolean>
- implements Timer
a runtime timer instance.
Timers can be
- Author:
- Tom Baeyens, Pascal Verdage, Alejandro Guizar
- See Also:
- Serialized Form
| Fields inherited from class org.ow2.orchestra.pvm.internal.job.JobImpl |
commandDescriptor, dbid, dbversion, delay, dueDate, exception, execution, isDefaultRetries, isExclusive, isSuspended, lockExpirationTime, lockOwner, priority, processInstance, retries |
| Methods inherited from class org.ow2.orchestra.pvm.internal.job.JobImpl |
getCommandDescriptor, getDbid, getDbversion, getDelay, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getPriority, getProcessInstance, getRetries, isDefaultRetries, isExclusive, isSuspended, setCommandDescriptor, setDbid, setDelay, setDueDate, setException, setExclusive, setExecution, setLockExpirationTime, setLockOwner, setPriority, setRetries, setSuspended |
| Methods inherited from interface org.ow2.orchestra.pvm.job.Job |
getDbid, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getPriority, getProcessInstance, getRetries, isExclusive, isSuspended |
signalName
protected String signalName
eventName
protected String eventName
repeat
protected String repeat
EVENT_TIMER
public static final String EVENT_TIMER
- See Also:
- Constant Field Values
TimerImpl
public TimerImpl()
setDueDateDescription
public void setDueDateDescription(String dueDateDescription)
execute
public Boolean execute(Environment environment)
- Specified by:
execute in interface Command<Boolean>
toString
public String toString()
- Overrides:
toString in class Object
formatDueDate
public static String formatDueDate(Date date)
getSignalName
public String getSignalName()
- Specified by:
getSignalName in interface Timer
setSignalName
public void setSignalName(String signalName)
getEventName
public String getEventName()
- Specified by:
getEventName in interface Timer
setEventName
public void setEventName(String eventName)
getRepeat
public String getRepeat()
- Specified by:
getRepeat in interface Timer
setRepeat
public void setRepeat(String repeat)
Copyright © 2011 OW2 Consortium. All Rights Reserved.