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

    • Constructor Detail

      • AbstractCatchEventBuilder

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

      • 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
      • timerWithDateExpression

        public B timerWithDateExpression​(String timerDate)
      • 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
      • timerWithDurationExpression

        public B timerWithDurationExpression​(String timerDuration)
        Sets an event definition for the timer with a time duration.
        Parameters:
        timerDuration - the duration of the timer (as feel expression, without the '=' prefix)
        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
      • timerWithCycleExpression

        public B timerWithCycleExpression​(String timerCycle)
        Sets an event definition for the timer with a time cycle.
        Parameters:
        timerCycle - the time cycle of the timer (as feel expression, without the '=' prefix)
        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