Package com.day.cq.workflow.job
Class ExternalProcessJob
- java.lang.Object
 - 
- com.day.cq.workflow.job.ExternalProcessJob
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class ExternalProcessJob extends java.lang.Object implements java.io.SerializableHelper class to identify and create external process job events, identified by job topicJOB_TOPIC- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJOB_TOPICThe job topic for adding an entry to the audit log.static java.lang.StringJOB_TOPIC_WCstatic java.lang.StringWORKFLOW_JOBThe event property holding theExternalProcessJob.static java.lang.StringWORKFLOW_JOB_ID 
- 
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 org.osgi.service.event.EventcreateJobEvent(java.lang.Integer retryCount, java.lang.String jobId)Convenience method to create a job event for the workflow job.java.util.MapgetWorkItemMap()Returns theWorkItemMapof the job 
 - 
 
- 
- 
Field Detail
- 
JOB_TOPIC
public static final java.lang.String JOB_TOPIC
The job topic for adding an entry to the audit log.- See Also:
 - Constant Field Values
 
 
- 
JOB_TOPIC_WC
public static final java.lang.String JOB_TOPIC_WC
- See Also:
 - Constant Field Values
 
 
- 
WORKFLOW_JOB
public static final java.lang.String WORKFLOW_JOB
The event property holding theExternalProcessJob.- See Also:
 - Constant Field Values
 
 
- 
WORKFLOW_JOB_ID
public static final java.lang.String WORKFLOW_JOB_ID
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getWorkItemMap
public java.util.Map getWorkItemMap()
Returns theWorkItemMapof the job- Returns:
 - Map The 
Mapof the job 
 
- 
createJobEvent
public org.osgi.service.event.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 retryjobId- The jobId- Returns:
 - Event Returns 
Eventcreated for the job 
 
 - 
 
 -