public class EventSubscriptionDeclaration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected boolean |
async |
protected String |
eventName |
protected String |
eventScopeActivityId |
protected String |
eventType |
protected Boolean |
isParallelMultiInstance |
protected boolean |
isStartEvent |
Constructor and Description |
---|
EventSubscriptionDeclaration(String eventName,
String eventType) |
Modifier and Type | Method and Description |
---|---|
EventSubscriptionEntity |
createSubscription(ExecutionEntity execution) |
EventSubscriptionEntity |
createSubscriptionForParallelMultiInstance(ExecutionEntity execution) |
String |
getActivityId() |
static List<EventSubscriptionDeclaration> |
getDeclarationsForScope(PvmScope scope) |
String |
getEventName() |
String |
getEventScopeActivityId() |
String |
getEventType() |
void |
handleSequentialMultiInstanceLeave(ExecutionEntity execution)
Deletes the actual subscription and creates a new one for the next instance.
|
boolean |
isAsync() |
boolean |
isStartEvent() |
void |
setActivityId(String activityId) |
void |
setAsync(boolean async) |
void |
setEventScopeActivityId(String eventScopeActivityId) |
void |
setStartEvent(boolean isStartEvent) |
protected final String eventName
protected final String eventType
protected boolean async
protected String activityId
protected String eventScopeActivityId
protected boolean isStartEvent
protected Boolean isParallelMultiInstance
public String getEventName()
public boolean isAsync()
public void setAsync(boolean async)
public void setActivityId(String activityId)
public String getActivityId()
public void setEventScopeActivityId(String eventScopeActivityId)
public String getEventScopeActivityId()
public boolean isStartEvent()
public void setStartEvent(boolean isStartEvent)
public String getEventType()
public EventSubscriptionEntity createSubscription(ExecutionEntity execution)
public EventSubscriptionEntity createSubscriptionForParallelMultiInstance(ExecutionEntity execution)
public static List<EventSubscriptionDeclaration> getDeclarationsForScope(PvmScope scope)
public void handleSequentialMultiInstanceLeave(ExecutionEntity execution)
execution
- Copyright © 2018. All rights reserved.