Package de.xima.fc.timing.job
Class StateTimerJob
- java.lang.Object
-
- de.xima.fc.timing.job.StateTimerJob
-
- All Implemented Interfaces:
IJobWrapper
public class StateTimerJob extends Object implements IJobWrapper
Job for triggering the new workflow engine when a form record remains in a certain state for a certain amount of time.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StateTimerJob
forTrigger(Vorgang formRecord, WorkflowTrigger trigger, FcStateTimerProps props, Instant triggerFireInstant)
A new job for invoking a trigger of the new workflow engine.org.quartz.JobDetail
getJobDetails()
-
-
-
Method Detail
-
getJobDetails
public org.quartz.JobDetail getJobDetails()
- Specified by:
getJobDetails
in interfaceIJobWrapper
- Returns:
JobDetail
the data of an scheduled task
-
forTrigger
public static StateTimerJob forTrigger(Vorgang formRecord, WorkflowTrigger trigger, FcStateTimerProps props, Instant triggerFireInstant)
A new job for invoking a trigger of the new workflow engine.- Parameters:
formRecord
- The form record for which to create the job.trigger
- The workflow trigger for which to create the job.props
- The properties model of the trigger.triggerFireInstant
- The computed time when the trigger should fire. May be different from the time of the quartz trigger.- Returns:
- The newly created job.
null
if the job could not be created.
-
-