Class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>

All Implemented Interfaces:
ZeebeVariablesMappingBuilder<B>
Direct Known Subclasses:
StartEventBuilder

public abstract class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>> extends AbstractCatchEventBuilder<B,StartEvent>
Author:
Sebastian Menski
  • Constructor Details

  • Method Details

    • error

      public B error()
      Sets a catch all error definition.
      Returns:
      the builder object
    • error

      public B error(String errorCode)
      Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created.
      Parameters:
      errorCode - the code of the error
      Returns:
      the builder object
    • errorEventDefinition

      public ErrorEventDefinitionBuilder errorEventDefinition(String id)
      Creates an error event definition with an unique id and returns a builder for the error event definition.
      Returns:
      the error event definition builder object
    • errorEventDefinition

      public ErrorEventDefinitionBuilder errorEventDefinition()
      Creates an error event definition and returns a builder for the error event definition.
      Returns:
      the error event definition builder object
    • escalation

      public B escalation()
      Sets a catch all escalation definition.
      Returns:
      the builder object
    • escalation

      public B escalation(String escalationCode)
      Sets an escalation definition for the given escalation code. If already an escalation with this code exists it will be used, otherwise a new escalation is created.
      Parameters:
      escalationCode - the code of the escalation
      Returns:
      the builder object
    • compensation

      public B compensation()
      Sets a catch compensation definition.
      Returns:
      the builder object
    • interrupting

      public B interrupting(boolean interrupting)
      Sets whether the start event is interrupting or not.