public class EventSubscriptionDelegateImpl extends AbstractDelegate<org.camunda.bpm.engine.runtime.EventSubscription> implements EventSubscriptionDelegate
delegate| Modifier | Constructor and Description |
|---|---|
protected |
EventSubscriptionDelegateImpl(WaitstateExecutable waitstate,
org.camunda.bpm.engine.runtime.EventSubscription eventSubscription) |
| Modifier and Type | Method and Description |
|---|---|
void |
defer(String period,
Deferred action)
Defer a certain action for a certain period of time until
it is executed.
|
String |
getActivityId() |
Date |
getCreated() |
String |
getEventName() |
String |
getEventType() |
String |
getExecutionId() |
String |
getId() |
ProcessInstanceDelegate |
getProcessInstance()
Get the process instance this object is associated to.
|
String |
getProcessInstanceId() |
String |
getTenantId() |
static EventSubscriptionDelegate |
newInstance(WaitstateExecutable waitstate,
org.camunda.bpm.engine.runtime.EventSubscription eventSubscription) |
static List<EventSubscriptionDelegate> |
newInstance(WaitstateExecutable waitstate,
List<org.camunda.bpm.engine.runtime.EventSubscription> eventSubscriptions) |
void |
receive()
Receive the event the event subscription is waiting for.
|
void |
receive(Map<String,Object> variables)
Receive the event the event subscription is waiting for
and deliver a map of received information to be stored
as process instance variables.
|
protected EventSubscriptionDelegateImpl(WaitstateExecutable waitstate, org.camunda.bpm.engine.runtime.EventSubscription eventSubscription)
public static EventSubscriptionDelegate newInstance(WaitstateExecutable waitstate, org.camunda.bpm.engine.runtime.EventSubscription eventSubscription)
public static List<EventSubscriptionDelegate> newInstance(WaitstateExecutable waitstate, List<org.camunda.bpm.engine.runtime.EventSubscription> eventSubscriptions)
public ProcessInstanceDelegate getProcessInstance()
ProcessInstanceAwareDelegategetProcessInstance in interface ProcessInstanceAwareDelegatepublic void defer(String period, Deferred action)
Deferrabledefer in interface Deferrableperiod - of time for which you want to defer an actionaction - which should be executed after the given period.public void receive()
EventSubscriptionDelegatereceive in interface EventSubscriptionDelegatepublic void receive(Map<String,Object> variables)
EventSubscriptionDelegatereceive in interface EventSubscriptionDelegatepublic String getId()
getId in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic String getEventType()
getEventType in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic String getEventName()
getEventName in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic String getExecutionId()
getExecutionId in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic String getProcessInstanceId()
getProcessInstanceId in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic String getActivityId()
getActivityId in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic String getTenantId()
getTenantId in interface org.camunda.bpm.engine.runtime.EventSubscriptionpublic Date getCreated()
getCreated in interface org.camunda.bpm.engine.runtime.EventSubscriptionCopyright © 2016 plexiti GmbH. All rights reserved.