public class EventSubscriptionDeclaration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected boolean |
async |
protected Expression |
eventName |
protected CallableElement |
eventPayload |
protected String |
eventScopeActivityId |
protected EventType |
eventType |
protected boolean |
isStartEvent |
protected EventSubscriptionJobDeclaration |
jobDeclaration |
Constructor and Description |
---|
EventSubscriptionDeclaration(Expression eventExpression,
EventType eventType) |
EventSubscriptionDeclaration(Expression eventExpression,
EventType eventType,
CallableElement eventPayload) |
protected final EventType eventType
protected final Expression eventName
protected final CallableElement eventPayload
protected boolean async
protected String activityId
protected String eventScopeActivityId
protected boolean isStartEvent
protected EventSubscriptionJobDeclaration jobDeclaration
public EventSubscriptionDeclaration(Expression eventExpression, EventType eventType)
public EventSubscriptionDeclaration(Expression eventExpression, EventType eventType, CallableElement eventPayload)
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 CallableElement getEventPayload()
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 © 2022. All rights reserved.