public class ErrorEndEventActivityBehavior extends AbstractBpmnActivityBehavior
Modifier and Type | Field and Description |
---|---|
protected String |
errorCode |
LOG
bpmnActivityBehavior
Constructor and Description |
---|
ErrorEndEventActivityBehavior(String errorCode,
ParameterValueProvider errorMessage) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
String |
getErrorCode() |
ParameterValueProvider |
getErrorMessageExpression() |
void |
setErrorCode(String errorCode) |
void |
setErrorMessageExpression(ParameterValueProvider errorMessage) |
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
leave, leaveIgnoreConditions
protected String errorCode
public ErrorEndEventActivityBehavior(String errorCode, ParameterValueProvider errorMessage)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public String getErrorCode()
public void setErrorCode(String errorCode)
public ParameterValueProvider getErrorMessageExpression()
public void setErrorMessageExpression(ParameterValueProvider errorMessage)
Copyright © 2022. All rights reserved.