Class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>>

Direct Known Subclasses:
CamundaErrorEventDefinitionBuilder, ErrorEventDefinitionBuilder

public abstract class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,ErrorEventDefinition>
Author:
Deivarayan Azhagappan
  • Constructor Details

  • Method Details

    • id

      public B id(String identifier)
      Description copied from class: AbstractBaseElementBuilder
      Sets the identifier of the element.
      Overrides:
      id in class AbstractBaseElementBuilder<B extends AbstractErrorEventDefinitionBuilder<B>,ErrorEventDefinition>
      Parameters:
      identifier - the identifier to set
      Returns:
      the builder object
    • errorCodeVariable

      public B errorCodeVariable(String errorCodeVariable)
      Sets the error code variable attribute.
    • errorMessageVariable

      public B errorMessageVariable(String errorMessageVariable)
      Sets the error message variable attribute.
    • error

      public B error(String errorCode)
      Sets the error attribute with errorCode.
    • error

      public B error(String errorCode, String errorMessage)
      Sets the error attribute with errorCode and errorMessage.
    • errorEventDefinitionDone

      public <T extends AbstractFlowNodeBuilder> T errorEventDefinitionDone()
      Finishes the building of a error event definition.
      Type Parameters:
      T -
      Returns:
      the parent event builder