org.jbpm.command
Class ExecuteJobsCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.ExecuteJobsCommand
- All Implemented Interfaces:
- Serializable, Command
public class ExecuteJobsCommand
- extends AbstractBaseCommand
Execute all overdue Jobs (may be enhanced with more attributes in future if needed)
- Author:
- ruecker
- See Also:
- Serialized Form
ExecuteJobsCommand
public ExecuteJobsCommand()
execute
public Object execute(JbpmContext jbpmContext)
throws Exception
- Throws:
Exception
acquireJobs
protected Collection acquireJobs()
executeJob
protected void executeJob(Job job)
throws Exception
- Throws:
Exception
getNextDueDate
protected Date getNextDueDate()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.