Class MessageBoundaryEventStrategy

All Implemented Interfaces:
GeneratorStrategy

public class MessageBoundaryEventStrategy extends MessageEventStrategy
  • Constructor Details

    • MessageBoundaryEventStrategy

      public MessageBoundaryEventStrategy(BpmnElement element)
  • Method Details

    • applyHandler

      public void applyHandler(com.squareup.javapoet.MethodSpec.Builder methodBuilder)
      Description copied from interface: GeneratorStrategy
      Adds code to the execute/apply method, if the element is handled by a handler - e.g.:
       instance.isWaitingAt(processInstanceEvent, "placeOrderExternalTask");
       instance.apply(processInstanceEvent, placeOrderExternalTask)
       

      or the previous element is an event based gateway.

      Specified by:
      applyHandler in interface GeneratorStrategy
      Overrides:
      applyHandler in class DefaultHandlerStrategy
      Parameters:
      methodBuilder - The method builder to use.