public class TimeoutJob extends Object implements Serializable
TimeoutJob
class provides a utility for creating event
triggered job used for programmed/scripted workflow steps.Modifier and Type | Field and Description |
---|---|
static String |
TIMEOUT_JOB
The event property holding the
TimeoutJob . |
static String |
TIMEOUT_JOB_TOPIC
The job topic for adding an entry to the audit log.
|
Constructor and Description |
---|
TimeoutJob(WorkItem item,
String handler)
Creates a new WorkflowJob.
|
Modifier and Type | Method and Description |
---|---|
org.osgi.service.event.Event |
cancelEvent(boolean executeParallel) |
org.osgi.service.event.Event |
createEvent(boolean executeParallel,
long seconds,
boolean addOffset)
Convenience method to create a job event for the workflow job.
|
String |
getHandler()
Returns the timeout handler
|
String |
getWorkItemId()
Returns the
WorkItem Id of the job |
public static final String TIMEOUT_JOB_TOPIC
public static final String TIMEOUT_JOB
TimeoutJob
.public String getHandler()
public org.osgi.service.event.Event createEvent(boolean executeParallel, long seconds, boolean addOffset)
public org.osgi.service.event.Event cancelEvent(boolean executeParallel)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"