Class ConnectorDefinitionAndInstanceContextWork
java.lang.Object
org.bonitasoft.engine.work.BonitaWork
org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
org.bonitasoft.engine.execution.work.WrappingBonitaWork
org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork
org.bonitasoft.engine.execution.work.failurewrapping.ConnectorDefinitionAndInstanceContextWork
Adding context information about Connector definition and instance to exception for better logging
- Author:
- Celine Souchet
-
Field Summary
Fields inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
SERVICE_ACCESSORFields inherited from class org.bonitasoft.engine.work.BonitaWork
tenantId -
Constructor Summary
ConstructorsConstructorDescriptionConnectorDefinitionAndInstanceContextWork(BonitaWork wrappedWork, String connectorDefinitionId, String connectorName, long connectorInstanceId, org.bonitasoft.engine.bpm.connector.ConnectorEvent activationEvent) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetExceptionContext(ExceptionContext e, Map<String, Object> context) Methods inherited from class org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork
handleFailure, workMethods inherited from class org.bonitasoft.engine.execution.work.WrappingBonitaWork
getDescription, getRecoveryProcedure, getWrappedWork, toStringMethods inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
getServiceAccessorMethods inherited from class org.bonitasoft.engine.work.BonitaWork
canBeRecoveredByTheRecoveryMechanism, equals, getParent, getRootWork, getUuid, hashCode, setParent
-
Constructor Details
-
ConnectorDefinitionAndInstanceContextWork
public ConnectorDefinitionAndInstanceContextWork(BonitaWork wrappedWork, String connectorDefinitionId, String connectorName, long connectorInstanceId, org.bonitasoft.engine.bpm.connector.ConnectorEvent activationEvent) - Parameters:
wrappedWork- The work to wrapconnectorDefinitionId- The name of the connector definitionconnectorName- The name of the connectorconnectorInstanceId- The identifier of the connector instanceactivationEvent- The event to activate the connector
-
-
Method Details
-
setExceptionContext
- Specified by:
setExceptionContextin classTxInHandleFailureWrappingWork
-