org.jbpm.env.session
Class Timer
java.lang.Object
org.jbpm.env.session.Job<java.lang.Boolean>
org.jbpm.env.session.Timer
- All Implemented Interfaces:
- java.io.Serializable, Command<java.lang.Boolean>
public class Timer
- extends Job<java.lang.Boolean>
- Author:
- Tom Baeyens, Pascal Verdage, Alejandro Guizar
- See Also:
- Serialized Form
Fields inherited from class org.jbpm.env.session.Job |
dbid, dbversion, dueDate, exception, execution, isExclusive, isSuspended, lockExpirationTime, lockOwner, processInstance, retries |
Methods inherited from class org.jbpm.env.session.Job |
getDbid, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive, isSuspended, setDbid, setDueDate, setException, setExclusive, setLockExpirationTime, setLockOwner, setRetries, setSuspended |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
repeat
protected java.lang.String repeat
activityReference
protected ObjectReference<Activity> activityReference
EVENT_TIMER
public static final java.lang.String EVENT_TIMER
- See Also:
- Constant Field Values
Timer
protected Timer()
Timer
public Timer(ExecutionImpl execution)
Timer
public Timer(java.lang.String name,
ExecutionImpl execution)
execute
public java.lang.Boolean execute(Environment environment)
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class Job<java.lang.Boolean>
getDateFormat
public static java.text.DateFormat getDateFormat()
getRepeat
public java.lang.String getRepeat()
setRepeat
public void setRepeat(java.lang.String repeat)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getActivityReference
public ObjectReference<Activity> getActivityReference()
setActivityReference
public void setActivityReference(ObjectReference<Activity> activityReference)