Class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>

Direct Known Subclasses:
StartEventBuilder

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

  • Method Details

    • operatonAsync

      @Deprecated(forRemoval=true, since="1.0") public B operatonAsync()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the operaton async attribute to true.
      Returns:
      the builder object
    • operatonAsync

      @Deprecated(forRemoval=true, since="1.0") public B operatonAsync(boolean isOperatonAsync)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the operaton async attribute.
      Parameters:
      isOperatonAsync - the async state of the task
      Returns:
      the builder object
    • operatonFormHandlerClass

      public B operatonFormHandlerClass(String operatonFormHandlerClass)
      Sets the operaton form handler class attribute.
      Parameters:
      operatonFormHandlerClass - the class name of the form handler
      Returns:
      the builder object
    • operatonFormKey

      public B operatonFormKey(String operatonFormKey)
      Sets the operaton form key attribute.
      Parameters:
      operatonFormKey - the form key to set
      Returns:
      the builder object
    • operatonFormRef

      public B operatonFormRef(String operatonFormRef)
      Sets the operaton form ref attribute.
      Parameters:
      operatonFormRef - the form ref to set
      Returns:
      the builder object
    • operatonFormRefBinding

      public B operatonFormRefBinding(String operatonFormRefBinding)
      Sets the operaton form ref binding attribute.
      Parameters:
      operatonFormRef - the form ref binding to set
      Returns:
      the builder object
    • operatonFormRefVersion

      public B operatonFormRefVersion(String operatonFormRefVersion)
      Sets the operaton form ref version attribute.
      Parameters:
      operatonFormRef - the form ref version to set
      Returns:
      the builder object
    • operatonInitiator

      public B operatonInitiator(String operatonInitiator)
      Sets the operaton initiator attribute.
      Parameters:
      operatonInitiator - the initiator to set
      Returns:
      the builder object
    • operatonFormField

      public OperatonStartEventFormFieldBuilder operatonFormField()
      Creates a new operaton form field extension element.
      Returns:
      the builder object
    • 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
    • error

      public B error(String errorCode, String errorMessage)
      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 with the given errorMessage.
      Parameters:
      errorCode - the code of the error
      errorMessage - the error message that is used when a new error needs to be created
      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.