public class ExternalProcessPollingEvent
extends java.lang.Object
implements java.io.Serializable
EVENT_TOPIC
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_TOPIC
The job topic for adding an entry to the audit log.
|
static java.lang.String |
PROPERTY_POLLING_ADVANCE_ON_TIMEOUT |
static java.lang.String |
PROPERTY_POLLING_EVENT |
static java.lang.String |
PROPERTY_POLLING_PROCESS_ID |
static java.lang.String |
PROPERTY_POLLING_START |
static java.lang.String |
PROPERTY_POLLING_TIMEOUT |
Constructor and Description |
---|
ExternalProcessPollingEvent(java.util.Map<java.lang.String,java.io.Serializable> workItemMap,
java.io.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.
|
java.util.Map<java.lang.String,java.io.Serializable> |
getWorkItemMap() |
public static final java.lang.String EVENT_TOPIC
public static final java.lang.String PROPERTY_POLLING_TIMEOUT
public static final java.lang.String PROPERTY_POLLING_ADVANCE_ON_TIMEOUT
public static final java.lang.String PROPERTY_POLLING_START
public static final java.lang.String PROPERTY_POLLING_EVENT
public static final java.lang.String PROPERTY_POLLING_PROCESS_ID
public ExternalProcessPollingEvent(java.util.Map<java.lang.String,java.io.Serializable> workItemMap, java.io.Serializable externalProcessId)
workItemMap
- Map
item of WorkItem map to be usedexternalProcessId
- External process id to be usedpublic java.util.Map<java.lang.String,java.io.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 timeoutEvent
Copyright © 2010 - 2020 Adobe. All Rights Reserved