com.day.cq.workflow.job
Class WorkflowJob

java.lang.Object
  extended by com.day.cq.workflow.job.WorkflowJob
All Implemented Interfaces:
Serializable

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

Field Summary
protected  Map item
          The serialized WorkItem Map of the job.
static String JOB_TOPIC
          The job topic for adding an entry to the audit log.
static String WORKFLOW_JOB
          The event property holding the WorkflowJob.
 
Constructor Summary
WorkflowJob(Map item)
          Creates a new WorkflowJob.
 
Method Summary
 org.osgi.service.event.Event createJobEvent(Integer retryCount, boolean executeParallel)
          Convenience method to create a job event for the workflow job.
 Map getWorkItemMap()
          Returns the WorkItem Mapof the job
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_TOPIC

public static final String JOB_TOPIC
The job topic for adding an entry to the audit log.

See Also:
Constant Field Values

WORKFLOW_JOB

public static final String WORKFLOW_JOB
The event property holding the WorkflowJob.

See Also:
Constant Field Values

item

protected Map item
The serialized WorkItem Map of the job.

Constructor Detail

WorkflowJob

public WorkflowJob(Map item)
Creates a new WorkflowJob.

Method Detail

getWorkItemMap

public Map getWorkItemMap()
Returns the WorkItem Mapof the job


createJobEvent

public org.osgi.service.event.Event createJobEvent(Integer retryCount,
                                                   boolean executeParallel)
Convenience method to create a job event for the workflow job.



Copyright © 2009 Day Management AG. All Rights Reserved.