Class AbstractOperation

    • Constructor Detail

      • AbstractOperation

        public AbstractOperation()
    • Method Detail

      • getCurrentFlowElement

        protected org.activiti.bpmn.model.FlowElement getCurrentFlowElement​(ExecutionEntity execution)
        Helper method to match the activityId of an execution with a FlowElement of the process definition referenced by the execution.
      • executeExecutionListeners

        protected void executeExecutionListeners​(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners,
                                                 java.lang.String eventType)
        Executes the execution listeners defined on the given element, with the given event type. Uses the execution of this operation instance as argument for the execution listener.
      • executeExecutionListeners

        protected void executeExecutionListeners​(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners,
                                                 ExecutionEntity executionEntity,
                                                 java.lang.String eventType)
        Executes the execution listeners defined on the given element, with the given event type, and passing the provided execution to the ExecutionListener instances.
      • findFirstParentScopeExecution

        protected ExecutionEntity findFirstParentScopeExecution​(ExecutionEntity executionEntity)
        Returns the first parent execution of the provided execution that is a scope.
      • setCommandContext

        public void setCommandContext​(CommandContext commandContext)
      • getAgenda

        public Agenda getAgenda()