public class ExternalProcessPollingEvent extends Object implements Serializable
EVENT_TOPIC| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_TOPIC
The job topic for adding an entry to the audit log.
|
static String |
PROPERTY_POLLING_ADVANCE_ON_TIMEOUT |
static String |
PROPERTY_POLLING_EVENT |
static String |
PROPERTY_POLLING_PROCESS_ID |
static String |
PROPERTY_POLLING_START |
static String |
PROPERTY_POLLING_TIMEOUT |
| Constructor and Description |
|---|
ExternalProcessPollingEvent(Map<String,Serializable> workItemMap,
Serializable externalProcessId)
Creates a new WorkflowJob.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
createPollingCancelEvent()
Convenience method to create a cancel timed event.
|
Event |
createPollingEvent(long period,
long timeoutSeconds,
boolean advanceOnTimeout)
Convenience method to create a timed event.
|
Map<String,Serializable> |
getWorkItemMap() |
public static final String EVENT_TOPIC
public static final String PROPERTY_POLLING_TIMEOUT
public static final String PROPERTY_POLLING_ADVANCE_ON_TIMEOUT
public static final String PROPERTY_POLLING_START
public static final String PROPERTY_POLLING_EVENT
public static final String PROPERTY_POLLING_PROCESS_ID
public ExternalProcessPollingEvent(Map<String,Serializable> workItemMap, Serializable externalProcessId)
workItemMap - Map item of WorkItem map to be usedexternalProcessId - External process id to be usedpublic Map<String,Serializable> getWorkItemMap()
public Event createPollingEvent(long period, long timeoutSeconds, boolean advanceOnTimeout)
period - period of time in secondstimeoutSeconds - timeout parameter in secondsadvanceOnTimeout - true or false if it should advance on timeoutEventCopyright © 2010 - 2020 Adobe. All Rights Reserved