org.jbpm.command
Class ExecuteJobsCommand
java.lang.Object
org.jbpm.command.ExecuteJobsCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class ExecuteJobsCommand
- extends java.lang.Object
- implements Command
Execute all overdue Jobs (may be enhanced with more attributes in future if
needed)
- Author:
- ruecker
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecuteJobsCommand
public ExecuteJobsCommand()
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Specified by:
execute
in interface Command
- Throws:
java.lang.Exception
acquireJobs
protected java.util.Collection acquireJobs()
executeJob
protected void executeJob(Job job)
getNextDueDate
protected java.util.Date getNextDueDate()