Class ExecutableError
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.agrona.DirectBuffer>Returns the error code, if it has been resolved previously (and is independent of the variable context).io.camunda.zeebe.el.ExpressionvoidsetErrorCode(org.agrona.DirectBuffer errorCode) voidsetErrorCodeExpression(io.camunda.zeebe.el.Expression errorCodeExpression) Methods inherited from class io.camunda.zeebe.engine.processing.deployment.model.element.AbstractFlowElement
getElementType, getEventType, getFlowScope, getId, setElementType, setEventType, setFlowScope
-
Constructor Details
-
ExecutableError
-
-
Method Details
-
getErrorCode
Returns the error code, if it has been resolved previously (and is independent of the variable context). If this returns an emptyOptionalthen the error code must be resolved by evaluatinggetErrorCodeExpression()- 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)
-