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 WorkItems Map of 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 - the serialized item
    • Method Detail

      • getWorkItemMap

        public java.util.Map getWorkItemMap()
        Returns the WorkItems Map of the job
        Returns:
        the WorkItems 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 - the number of retries
        jobId - the workflow job id
        Returns:
        the created event