Class ExecuteConnectorOfActivity
java.lang.Object
org.bonitasoft.engine.work.BonitaWork
org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
org.bonitasoft.engine.execution.work.ExecuteConnectorWork
org.bonitasoft.engine.execution.work.ExecuteConnectorOfActivity
- Author:
- Baptiste Mesta, Celine Souchet, Matthieu Chaffotte
-
Field Summary
Fields inherited from class org.bonitasoft.engine.execution.work.ExecuteConnectorWork
connectorDefinitionName, connectorInstanceId, processDefinitionIdFields inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
SERVICE_ACCESSORFields inherited from class org.bonitasoft.engine.work.BonitaWork
tenantId -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcontinueFlow(Map<String, Object> context) protected SThrowEventInstancecreateThrowErrorEventInstance(Map<String, Object> context, SEndEventDefinition eventDefinition) protected voiderrorEventOnFail(Map<String, Object> context, SConnectorDefinition sConnectorDefinition, Throwable exception) protected voidevaluateOutput(Map<String, Object> context, ConnectorResult result, SConnectorDefinition sConnectorDefinition) protected SConnectorDefinitiongetSConnectorDefinition(ProcessDefinitionService processDefinitionService) protected voidsetContainerInFail(Map<String, Object> context, Throwable t) Methods inherited from class org.bonitasoft.engine.execution.work.ExecuteConnectorWork
canBeRecoveredByTheRecoveryMechanism, evaluateOutput, getClassLoader, handleFailure, setConnectorAndContainerToFailed, setConnectorOnlyToFailed, workMethods inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
getServiceAccessorMethods inherited from class org.bonitasoft.engine.work.BonitaWork
equals, getParent, getRecoveryProcedure, getRootWork, getUuid, hashCode, setParent
-
Method Details
-
evaluateOutput
protected void evaluateOutput(Map<String, Object> context, ConnectorResult result, SConnectorDefinition sConnectorDefinition) throws SBonitaException- Specified by:
evaluateOutputin classExecuteConnectorWork- Throws:
SBonitaException
-
continueFlow
- Specified by:
continueFlowin classExecuteConnectorWork- Throws:
SBonitaException
-
setContainerInFail
- Specified by:
setContainerInFailin classExecuteConnectorWork- Throws:
SBonitaException
-
createThrowErrorEventInstance
protected SThrowEventInstance createThrowErrorEventInstance(Map<String, Object> context, SEndEventDefinition eventDefinition) throws SBonitaException- Specified by:
createThrowErrorEventInstancein classExecuteConnectorWork- Throws:
SBonitaException
-
errorEventOnFail
protected void errorEventOnFail(Map<String, Object> context, SConnectorDefinition sConnectorDefinition, Throwable exception) throws SBonitaException- Specified by:
errorEventOnFailin classExecuteConnectorWork- Throws:
SBonitaException
-
getDescription
- Specified by:
getDescriptionin classBonitaWork
-
getSConnectorDefinition
protected SConnectorDefinition getSConnectorDefinition(ProcessDefinitionService processDefinitionService) throws SBonitaException - Specified by:
getSConnectorDefinitionin classExecuteConnectorWork- Throws:
SBonitaException
-