Class ExternalProcessJob

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExternalProcessJob
    extends java.lang.Object
    implements java.io.Serializable
    Helper class to identify and create external process job events, identified by job topic JOB_TOPIC
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExternalProcessJob​(java.util.Map serializedItem)
      Creates a new WorkflowJob.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Event createJobEvent​(java.lang.Integer retryCount, java.lang.String jobId)
      Convenience method to create a job event for the workflow job.
      java.util.Map getWorkItemMap()
      Returns the WorkItem Mapof the job
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExternalProcessJob

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

      • getWorkItemMap

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

        public Event createJobEvent​(java.lang.Integer retryCount,
                                    java.lang.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