public class EventSubscriptionDeclaration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected boolean |
async |
protected Expression |
eventName |
protected String |
eventScopeActivityId |
protected EventType |
eventType |
protected boolean |
isStartEvent |
protected EventSubscriptionJobDeclaration |
jobDeclaration |
Constructor and Description |
---|
EventSubscriptionDeclaration(Expression eventExpression,
EventType eventType) |
protected final EventType eventType
protected final Expression eventName
protected boolean async
protected String activityId
protected String eventScopeActivityId
protected boolean isStartEvent
protected EventSubscriptionJobDeclaration jobDeclaration
public EventSubscriptionDeclaration(Expression eventExpression, EventType eventType)
public static Map<String,EventSubscriptionDeclaration> getDeclarationsForScope(PvmScope scope)
public String getUnresolvedEventName()
public boolean hasEventName()
public boolean isEventNameLiteralText()
public boolean isAsync()
public void setAsync(boolean async)
public String getActivityId()
public void setActivityId(String activityId)
public String getEventScopeActivityId()
public void setEventScopeActivityId(String eventScopeActivityId)
public boolean isStartEvent()
public void setStartEvent(boolean isStartEvent)
public String getEventType()
public void setJobDeclaration(EventSubscriptionJobDeclaration jobDeclaration)
public EventSubscriptionEntity createSubscriptionForStartEvent(ProcessDefinitionEntity processDefinition)
public EventSubscriptionEntity createSubscriptionForExecution(ExecutionEntity execution)
public String resolveExpressionOfEventName(VariableScope scope)
protected boolean isExpressionAvailable()
public void updateSubscription(EventSubscriptionEntity eventSubscription)
Copyright © 2019. All rights reserved.