public class WorkflowJob
extends java.lang.Object
implements java.io.Serializable
WorkflowJob
class provides a utility for creating event
triggered job used for programmed/scripted workflow steps.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOB_TOPIC
The job topic for adding an entry to the audit log.
|
static java.lang.String |
JOB_TOPIC_WC |
static java.lang.String |
WORKFLOW_JOB
The event property holding the
WorkflowJob . |
static java.lang.String |
WORKFLOW_JOB_ID |
Constructor and Description |
---|
WorkflowJob(java.util.Map item)
Creates a new WorkflowJob.
|
Modifier and Type | Method and Description |
---|---|
Event |
createJobEvent(java.lang.Integer retryCount,
int numOfParallelProcs,
java.lang.String jobId)
Convenience method to create a job event for the workflow job.
|
java.util.Map |
getWorkItemMap()
Returns the
WorkItem Map of the job |
public static final java.lang.String JOB_TOPIC
public static final java.lang.String JOB_TOPIC_WC
public static final java.lang.String WORKFLOW_JOB
WorkflowJob
.public static final java.lang.String WORKFLOW_JOB_ID
public WorkflowJob(java.util.Map item)
item
- creates the WorkflowJob
instance using Map
public java.util.Map getWorkItemMap()
WorkItem
Map
of the jobMap
returns the workflow item mappublic Event createJobEvent(java.lang.Integer retryCount, int numOfParallelProcs, java.lang.String jobId)
retryCount
- integer. number of retriesnumOfParallelProcs
- not currently usedjobId
- the job id to useEvent
the job event createdCopyright © 2010 - 2020 Adobe. All Rights Reserved