org.jbpm.job
Class Timer

java.lang.Object
  extended by org.jbpm.job.Job
      extended by org.jbpm.job.Timer
All Implemented Interfaces:
Serializable

public class Timer
extends Job

See Also:
Serialized Form

Constructor Summary
Timer()
           
Timer(Token token)
           
 
Method Summary
 boolean execute(JbpmContext jbpmContext)
           
 Action getAction()
           
 String getCalendarResource()
          Gets the business calendar resource used for calculating repeat dates.
 GraphElement getGraphElement()
           
 String getName()
           
 String getRepeat()
           
 String getTransitionName()
           
 void setAction(Action action)
           
 void setCalendarResource(String calendarResource)
          Sets the business calendar resource to use for calculating repeat dates.
 void setGraphElement(GraphElement graphElement)
           
 void setName(String name)
           
 void setRepeat(String repeat)
           
 void setTransitionName(String transitionName)
           
 String toString()
           
 
Methods inherited from class org.jbpm.job.Job
getAqcuireDate, getConfiguration, getDueDate, getException, getId, getJobExecutorName, getLockOwner, getLockTime, getProcessInstance, getRetries, getTaskInstance, getToken, getVersion, isExclusive, isSuspended, setConfiguration, setDueDate, setException, setExclusive, setLockOwner, setLockTime, setProcessInstance, setRetries, setSuspended, setTaskInstance, setToken, toStringLongFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timer

public Timer()

Timer

public Timer(Token token)
Method Detail

execute

public boolean execute(JbpmContext jbpmContext)
                throws Exception
Specified by:
execute in class Job
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

getRepeat

public String getRepeat()

setRepeat

public void setRepeat(String repeat)

getName

public String getName()

setName

public void setName(String name)

getTransitionName

public String getTransitionName()

setTransitionName

public void setTransitionName(String transitionName)

getGraphElement

public GraphElement getGraphElement()

setGraphElement

public void setGraphElement(GraphElement graphElement)

getAction

public Action getAction()

setAction

public void setAction(Action action)

getCalendarResource

public String getCalendarResource()
Gets the business calendar resource used for calculating repeat dates.


setCalendarResource

public void setCalendarResource(String calendarResource)
Sets the business calendar resource to use for calculating repeat dates.



Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.