org.camunda.bpm.engine.impl.bpmn.parser
Class EventSubscriptionDeclaration

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.parser.EventSubscriptionDeclaration
All Implemented Interfaces:
Serializable

public class EventSubscriptionDeclaration
extends Object
implements Serializable

Author:
Daniel Meyer, Falko Menge, Danny Gräf
See Also:
Serialized Form

Field Summary
protected  String activityId
           
protected  boolean async
           
protected  String eventName
           
protected  String eventScopeActivityId
           
protected  String eventType
           
protected  Boolean isParallelMultiInstance
           
protected  boolean isStartEvent
           
 
Constructor Summary
EventSubscriptionDeclaration(String eventName, String eventType)
           
 
Method Summary
 EventSubscriptionEntity createSubscription(ExecutionEntity execution)
           
 String getActivityId()
           
static List<EventSubscriptionDeclaration> getDeclarationsForScope(PvmScope scope)
           
 String getEventName()
           
 String getEventScopeActivityId()
           
 String getEventType()
           
 boolean isAsync()
           
 boolean isStartEvent()
           
 void setActivityId(String activityId)
           
 void setAsync(boolean async)
           
 void setEventScopeActivityId(String eventScopeActivityId)
           
 void setStartEvent(boolean isStartEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventName

protected final String eventName

eventType

protected final String eventType

async

protected boolean async

activityId

protected String activityId

eventScopeActivityId

protected String eventScopeActivityId

isStartEvent

protected boolean isStartEvent

isParallelMultiInstance

protected Boolean isParallelMultiInstance
Constructor Detail

EventSubscriptionDeclaration

public EventSubscriptionDeclaration(String eventName,
                                    String eventType)
Method Detail

getEventName

public String getEventName()

isAsync

public boolean isAsync()

setAsync

public void setAsync(boolean async)

setActivityId

public void setActivityId(String activityId)

getActivityId

public String getActivityId()

setEventScopeActivityId

public void setEventScopeActivityId(String eventScopeActivityId)

getEventScopeActivityId

public String getEventScopeActivityId()

isStartEvent

public boolean isStartEvent()

setStartEvent

public void setStartEvent(boolean isStartEvent)

getEventType

public String getEventType()

createSubscription

public EventSubscriptionEntity createSubscription(ExecutionEntity execution)

getDeclarationsForScope

public static List<EventSubscriptionDeclaration> getDeclarationsForScope(PvmScope scope)


Copyright © 2015 camunda services GmbH. All rights reserved.