Class ErrorEndEventActivityBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.ErrorEndEventActivityBehavior
-
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
public class ErrorEndEventActivityBehavior extends AbstractBpmnActivityBehavior
- Author:
- Joram Barrez, Falko Menge
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
errorCode
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description ErrorEndEventActivityBehavior(java.lang.String errorCode, ParameterValueProvider errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.java.lang.String
getErrorCode()
ParameterValueProvider
getErrorMessageExpression()
void
setErrorCode(java.lang.String errorCode)
void
setErrorMessageExpression(ParameterValueProvider errorMessage)
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
-
-
-
Constructor Detail
-
ErrorEndEventActivityBehavior
public ErrorEndEventActivityBehavior(java.lang.String errorCode, ParameterValueProvider errorMessage)
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
java.lang.Exception
-
getErrorCode
public java.lang.String getErrorCode()
-
setErrorCode
public void setErrorCode(java.lang.String errorCode)
-
getErrorMessageExpression
public ParameterValueProvider getErrorMessageExpression()
-
setErrorMessageExpression
public void setErrorMessageExpression(ParameterValueProvider errorMessage)
-
-