Class AbstractCatchEventBuilder<B extends AbstractCatchEventBuilder<B,E>,E extends CatchEvent>

Direct Known Subclasses:
AbstractBoundaryEventBuilder, AbstractIntermediateCatchEventBuilder, AbstractStartEventBuilder

public abstract class AbstractCatchEventBuilder<B extends AbstractCatchEventBuilder<B,E>,E extends CatchEvent> extends AbstractEventBuilder<B,E>
Author:
Sebastian Menski
  • Constructor Details

    • AbstractCatchEventBuilder

      protected AbstractCatchEventBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
  • Method Details

    • parallelMultiple

      public B parallelMultiple()
      Sets the event to be parallel multiple
      Returns:
      the builder object
    • message

      public B message(String messageName)
      Sets an event definition for the given message name. If already a message with this name exists it will be used, otherwise a new message is created.
      Parameters:
      messageName - the name of the message
      Returns:
      the builder object
    • signal

      public B signal(String signalName)
      Sets an event definition for the given signal name. If already a signal with this name exists it will be used, otherwise a new signal is created.
      Parameters:
      signalName - the name of the signal
      Returns:
      the builder object
    • timerWithDate

      public B timerWithDate(String timerDate)
      Sets an event definition for the timer with a time date.
      Parameters:
      timerDate - the time date of the timer
      Returns:
      the builder object
    • timerWithDuration

      public B timerWithDuration(String timerDuration)
      Sets an event definition for the timer with a time duration.
      Parameters:
      timerDuration - the time duration of the timer
      Returns:
      the builder object
    • timerWithCycle

      public B timerWithCycle(String timerCycle)
      Sets an event definition for the timer with a time cycle.
      Parameters:
      timerCycle - the time cycle of the timer
      Returns:
      the builder object
    • compensateEventDefinition

      public CompensateEventDefinitionBuilder compensateEventDefinition()
    • compensateEventDefinition

      public CompensateEventDefinitionBuilder compensateEventDefinition(String id)
    • conditionalEventDefinition

      public ConditionalEventDefinitionBuilder conditionalEventDefinition()
    • conditionalEventDefinition

      public ConditionalEventDefinitionBuilder conditionalEventDefinition(String id)
    • condition

      public B condition(String condition)