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 java.lang.String
getActivityId()
The identifier of the activity that this event subscription belongs to.java.util.Date
getCreated()
The time this event subscription was created.java.lang.String
getEventName()
The name of the event this subscription belongs to as defined in the process model.java.lang.String
getEventType()
The event subscriptions type.java.lang.String
getExecutionId()
The execution that is subscribed on the referenced event.java.lang.String
getId()
The unique identifier of the event subscription.java.lang.String
getProcessInstanceId()
The process instance this subscription belongs to.java.lang.String
getTenantId()
The id of the tenant this event subscription belongs to.
-
-
-
Method Detail
-
getId
java.lang.String getId()
The unique identifier of the event subscription.
-
getEventType
java.lang.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
java.lang.String getEventName()
The name of the event this subscription belongs to as defined in the process model.
-
getExecutionId
java.lang.String getExecutionId()
The execution that is subscribed on the referenced event.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
The process instance this subscription belongs to.
-
getActivityId
java.lang.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
java.lang.String getTenantId()
The id of the tenant this event subscription belongs to. Can benull
if the subscription belongs to no single tenant.
-
getCreated
java.util.Date getCreated()
The time this event subscription was created.
-
-