Class ResetAllFailedConnectorStrategy
java.lang.Object
org.bonitasoft.engine.api.impl.connector.ResetAllFailedConnectorStrategy
- All Implemented Interfaces:
ConnectorResetStrategy
- Author:
- Elias Ricken de Medeiros
-
Constructor Summary
ConstructorsConstructorDescriptionResetAllFailedConnectorStrategy(ConnectorInstanceService connectorInstanceService, ConnectorReseter connectorReseter, int maxResults) -
Method Summary
Modifier and TypeMethodDescriptionvoidresetConnectorsOf(long flowNodeInstanceId) Reset allSConnectorInstances related to the given activity that are in the failed state to the stateConnectorStateReset.TO_RE_EXECUTE
-
Constructor Details
-
ResetAllFailedConnectorStrategy
public ResetAllFailedConnectorStrategy(ConnectorInstanceService connectorInstanceService, ConnectorReseter connectorReseter, int maxResults)
-
-
Method Details
-
resetConnectorsOf
public void resetConnectorsOf(long flowNodeInstanceId) throws org.bonitasoft.engine.bpm.flownode.ActivityExecutionException Reset allSConnectorInstances related to the given activity that are in the failed state to the stateConnectorStateReset.TO_RE_EXECUTE- Specified by:
resetConnectorsOfin interfaceConnectorResetStrategy- Parameters:
flowNodeInstanceId- the identifier of theSActivityInstancewhere the connectors are attached to.- Throws:
org.bonitasoft.engine.bpm.flownode.ActivityExecutionException
-