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
- the work itempublic java.util.Map getWorkItemMap()
WorkItem
Map
of the jobWorkItem
Map
of the jobpublic Event createJobEvent(java.lang.Integer retryCount, int numOfParallelProcs, java.lang.String jobId)
retryCount
- the retryCountnumOfParallelProcs
- the number of parallel processesjobId
- the workflow job id"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"