Class ErrorPropagation.BpmnErrorVariableContainer
- java.lang.Object
-
- org.flowable.engine.impl.bpmn.helper.ErrorPropagation.BpmnErrorVariableContainer
-
- All Implemented Interfaces:
VariableContainer
- Enclosing class:
- ErrorPropagation
protected static class ErrorPropagation.BpmnErrorVariableContainer extends Object implements VariableContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected VariableContaineradditionalDataContainerprotected Throwableerrorprotected StringerrorCodeprotected StringtenantId
-
Constructor Summary
Constructors Modifier Constructor Description protectedBpmnErrorVariableContainer(String errorCode, String tenantId)protectedBpmnErrorVariableContainer(String errorCode, Throwable error, String tenantId)protectedBpmnErrorVariableContainer(BpmnError error, String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetErrorCode()StringgetTenantId()ObjectgetVariable(String variableName)booleanhasVariable(String variableName)protected voidsetErrorCode(String errorCode)voidsetTransientVariable(String variableName, Object variableValue)voidsetVariable(String variableName, Object variableValue)
-
-
-
Field Detail
-
errorCode
protected String errorCode
-
error
protected Throwable error
-
additionalDataContainer
protected VariableContainer additionalDataContainer
-
tenantId
protected String tenantId
-
-
Method Detail
-
getErrorCode
protected String getErrorCode()
-
setErrorCode
protected void setErrorCode(String errorCode)
-
hasVariable
public boolean hasVariable(String variableName)
- Specified by:
hasVariablein interfaceVariableContainer
-
getVariable
public Object getVariable(String variableName)
- Specified by:
getVariablein interfaceVariableContainer
-
setVariable
public void setVariable(String variableName, Object variableValue)
- Specified by:
setVariablein interfaceVariableContainer
-
setTransientVariable
public void setTransientVariable(String variableName, Object variableValue)
- Specified by:
setTransientVariablein interfaceVariableContainer
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceVariableContainer
-
-