public class TimeoutJob
extends java.lang.Object
implements java.io.Serializable
TimeoutJob 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 |
TIMEOUT_JOB
The event property holding the
TimeoutJob. |
static java.lang.String |
TIMEOUT_JOB_TOPIC
The job topic for adding an entry to the audit log.
|
| Constructor and Description |
|---|
TimeoutJob(WorkItem item,
java.lang.String handler)
Creates a new WorkflowJob.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
cancelEvent(boolean executeParallel) |
Event |
createEvent(boolean executeParallel,
long seconds,
boolean addOffset)
Convenience method to create a job event for the workflow job.
|
java.lang.String |
getHandler()
Returns the timeout handler
|
java.lang.String |
getWorkItemId()
Returns the
WorkItem Id of the job |
public static final java.lang.String TIMEOUT_JOB_TOPIC
public static final java.lang.String TIMEOUT_JOB
TimeoutJob.public TimeoutJob(WorkItem item, java.lang.String handler)
public java.lang.String getWorkItemId()
WorkItem Id of the jobpublic java.lang.String getHandler()
public Event createEvent(boolean executeParallel,
long seconds,
boolean addOffset)
public Event cancelEvent(boolean executeParallel)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"