Class ExternalProcessJob

java.lang.Object
com.day.cq.workflow.job.ExternalProcessJob
All Implemented Interfaces:
Serializable

public class ExternalProcessJob extends Object implements Serializable
Helper class to identify and create external process job events, identified by job topic JOB_TOPIC
See Also:
  • Field Details

  • Constructor Details

    • ExternalProcessJob

      public ExternalProcessJob(Map serializedItem)
      Creates a new WorkflowJob.
      Parameters:
      serializedItem - Map of the serialized Item
  • Method Details

    • getWorkItemMap

      public Map getWorkItemMap()
      Returns the WorkItem Mapof the job
      Returns:
      Map The Map of the job
    • createJobEvent

      public Event createJobEvent(Integer retryCount, String jobId)
      Convenience method to create a job event for the workflow job.
      Parameters:
      retryCount - how many times to retry
      jobId - The jobId
      Returns:
      Event Returns Event created for the job