Class EventSubscriptionDeclaration

    • Constructor Detail

      • EventSubscriptionDeclaration

        public EventSubscriptionDeclaration​(Expression eventExpression,
                                            EventType eventType)
    • Method Detail

      • getUnresolvedEventName

        public String getUnresolvedEventName()
        Returns the name of the event without evaluating the possible expression that it might contain.
      • hasEventName

        public boolean hasEventName()
      • isEventNameLiteralText

        public boolean isEventNameLiteralText()
      • isAsync

        public boolean isAsync()
      • setAsync

        public void setAsync​(boolean async)
      • getActivityId

        public String getActivityId()
      • setActivityId

        public void setActivityId​(String activityId)
      • getEventScopeActivityId

        public String getEventScopeActivityId()
      • setEventScopeActivityId

        public void setEventScopeActivityId​(String eventScopeActivityId)
      • isStartEvent

        public boolean isStartEvent()
      • setStartEvent

        public void setStartEvent​(boolean isStartEvent)
      • getEventType

        public String getEventType()
      • createSubscriptionForExecution

        public EventSubscriptionEntity createSubscriptionForExecution​(ExecutionEntity execution)
        Creates and inserts a subscription entity depending on the message type of this declaration.
      • resolveExpressionOfEventName

        public String resolveExpressionOfEventName​(VariableScope scope)
        Resolves the event name within the given scope.
      • isExpressionAvailable

        protected boolean isExpressionAvailable()