Class AbstractBpmnActivityBehavior

    • Constructor Detail

      • AbstractBpmnActivityBehavior

        public AbstractBpmnActivityBehavior()
    • Method Detail

      • isCompensationEventSubprocess

        protected boolean isCompensationEventSubprocess​(ActivityImpl activity)
      • createCompensateEventSubscription

        protected void createCompensateEventSubscription​(ActivityExecution execution,
                                                         ActivityImpl compensationHandler)
      • executeWithErrorPropagation

        protected void executeWithErrorPropagation​(ActivityExecution execution,
                                                   java.util.concurrent.Callable<java.lang.Void> toExecute)
                                            throws java.lang.Exception
        Takes an ActivityExecution and an Callable and wraps the call to the Callable with the proper error propagation. This method also makes sure that exceptions not caught by following activities in the process will be thrown and not propagated.
        Parameters:
        execution -
        toExecute -
        Throws:
        java.lang.Exception
      • signalCompensationDone

        protected void signalCompensationDone​(ActivityExecution execution)