|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.workflow.job.TimeoutJob
public class TimeoutJob
The TimeoutJob class provides a utility for creating event
triggered job used for programmed/scripted workflow steps.
| Field Summary | |
|---|---|
protected WorkItem |
item
The WorkItem of the job. |
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 Summary | |
|---|---|
TimeoutJob(WorkItem item,
String handler)
Creates a new WorkflowJob. |
|
| Method Summary | |
|---|---|
org.osgi.service.event.Event |
cancelEvent(boolean executeParallel)
|
org.osgi.service.event.Event |
createEvent(boolean executeParallel,
long seconds)
Convenience method to create a job event for the workflow job. |
String |
getHandler()
Returns the timeout handler |
WorkItem |
getWorkItem()
Returns the WorkItem of the job |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TIMEOUT_JOB_TOPIC
public static final String TIMEOUT_JOB
TimeoutJob.
protected WorkItem item
WorkItem of the job.
| Constructor Detail |
|---|
public TimeoutJob(WorkItem item,
String handler)
| Method Detail |
|---|
public WorkItem getWorkItem()
WorkItem of the job
public String getHandler()
public org.osgi.service.event.Event createEvent(boolean executeParallel,
long seconds)
public org.osgi.service.event.Event cancelEvent(boolean executeParallel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||