Class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>

    • Method Detail

      • camundaAsync

        @Deprecated
        public B camundaAsync()
        Deprecated.
        use camundaAsyncBefore() instead. Sets the camunda async attribute to true.
        Returns:
        the builder object
      • camundaAsync

        @Deprecated
        public B camundaAsync​(boolean isCamundaAsync)
        Deprecated.
        use camundaAsyncBefore(isCamundaAsyncBefore) instead. Sets the camunda async attribute.
        Parameters:
        isCamundaAsync - the async state of the task
        Returns:
        the builder object
      • camundaFormHandlerClass

        public B camundaFormHandlerClass​(String camundaFormHandlerClass)
        Sets the camunda form handler class attribute.
        Parameters:
        camundaFormHandlerClass - the class name of the form handler
        Returns:
        the builder object
      • camundaFormKey

        public B camundaFormKey​(String camundaFormKey)
        Sets the camunda form key attribute.
        Parameters:
        camundaFormKey - the form key to set
        Returns:
        the builder object
      • camundaFormRef

        public B camundaFormRef​(String camundaFormRef)
        Sets the camunda form ref attribute.
        Parameters:
        camundaFormRef - the form ref to set
        Returns:
        the builder object
      • camundaFormRefBinding

        public B camundaFormRefBinding​(String camundaFormRefBinding)
        Sets the camunda form ref binding attribute.
        Parameters:
        camundaFormRef - the form ref binding to set
        Returns:
        the builder object
      • camundaFormRefVersion

        public B camundaFormRefVersion​(String camundaFormRefVersion)
        Sets the camunda form ref version attribute.
        Parameters:
        camundaFormRef - the form ref version to set
        Returns:
        the builder object
      • camundaInitiator

        public B camundaInitiator​(String camundaInitiator)
        Sets the camunda initiator attribute.
        Parameters:
        camundaInitiator - the initiator to set
        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.