Package org.camunda.bpm.engine.runtime
Interface EventSubscription
-
- All Known Implementing Classes:
EventSubscriptionEntity
public interface EventSubscription
A message event subscription exists, if anExecution
waits for an event like a message.- Author:
- Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getActivityId()
The identifier of the activity that this event subscription belongs to.Date
getCreated()
The time this event subscription was created.String
getEventName()
The name of the event this subscription belongs to as defined in the process model.String
getEventType()
The event subscriptions type.String
getExecutionId()
The execution that is subscribed on the referenced event.String
getId()
The unique identifier of the event subscription.String
getProcessInstanceId()
The process instance this subscription belongs to.String
getTenantId()
The id of the tenant this event subscription belongs to.
-
-
-
Method Detail
-
getId
String getId()
The unique identifier of the event subscription.
-
getEventType
String getEventType()
The event subscriptions type. "message" identifies message event subscriptions, "signal" identifies signal event subscription, "compensation" identifies event subscriptions used for compensation events.
-
getEventName
String getEventName()
The name of the event this subscription belongs to as defined in the process model.
-
getExecutionId
String getExecutionId()
The execution that is subscribed on the referenced event.
-
getProcessInstanceId
String getProcessInstanceId()
The process instance this subscription belongs to.
-
getActivityId
String getActivityId()
The identifier of the activity that this event subscription belongs to. This could for example be the id of a receive task.
-
getTenantId
String getTenantId()
The id of the tenant this event subscription belongs to. Can benull
if the subscription belongs to no single tenant.
-
getCreated
Date getCreated()
The time this event subscription was created.
-
-