Package de.xima.fc.timing.job
Class StateTimerJob
java.lang.Object
de.xima.fc.timing.job.StateTimerJob
- All Implemented Interfaces:
 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
Modifier and TypeMethodDescriptionstatic StateTimerJobforTrigger(Vorgang formRecord, WorkflowTrigger trigger, FcStateTimerProps props, Instant triggerFireInstant) A new job for invoking a trigger of the new workflow engine.org.quartz.JobDetail 
- 
Method Details
- 
getJobDetails
public org.quartz.JobDetail getJobDetails()- Specified by:
 getJobDetailsin interfaceIJobWrapper- Returns:
 JobDetailthe 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. 
nullif the job could not be created. 
 
 -