org.camunda.bpm.engine.runtime
Interface EventSubscription

All Known Implementing Classes:
CompensateEventSubscriptionEntity, EventSubscriptionEntity, MessageEventSubscriptionEntity, SignalEventSubscriptionEntity

public interface EventSubscription

A message event subscription exists, if an Execution waits for an event like a message.

Author:
Thorben Lindhauer

Method Summary
 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.
 

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.


getCreated

Date getCreated()
The time this event subscription was created.



Copyright © 2015 camunda services GmbH. All rights reserved.