Class WorkflowJob

  • All Implemented Interfaces:

    public class WorkflowJob
    extends Object
    implements Serializable
    The WorkflowJob class provides a utility for creating event triggered job used for programmed/scripted workflow steps.
    See Also:
    Serialized Form
    • Constructor Detail

      • WorkflowJob

        public WorkflowJob​(Map item)
        Creates a new WorkflowJob.
        item - creates the WorkflowJob instance using Map
    • Method Detail

      • getWorkItemMap

        public Map getWorkItemMap()
        Returns the WorkItem Mapof the job
        Map Map returns the workflow item map
      • createJobEvent

        public Event createJobEvent​(Integer retryCount,
                                    int numOfParallelProcs,
                                    String jobId)
        Convenience method to create a job event for the workflow job.
        retryCount - integer. number of retries
        numOfParallelProcs - not currently used
        jobId - the job id to use
        Event Event the job event created