java.lang.Object
io.camunda.zeebe.engine.processing.deployment.model.element.AbstractFlowElement
io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableError
All Implemented Interfaces:
ExecutableFlowElement

public class ExecutableError extends AbstractFlowElement
  • Constructor Details

    • ExecutableError

      public ExecutableError(String id)
  • Method Details

    • getErrorCode

      public Optional<org.agrona.DirectBuffer> getErrorCode()
      Returns the error code, if it has been resolved previously (and is independent of the variable context). If this returns an empty Optional then the error code must be resolved by evaluating getErrorCodeExpression()
      Returns:
      the error code, if it has been resolved previously (and is independent of the variable context)
    • setErrorCode

      public void setErrorCode(org.agrona.DirectBuffer errorCode)
    • getErrorCodeExpression

      public io.camunda.zeebe.el.Expression getErrorCodeExpression()
    • setErrorCodeExpression

      public void setErrorCodeExpression(io.camunda.zeebe.el.Expression errorCodeExpression)