Class ResetAllFailedConnectorStrategy
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.connector.ResetAllFailedConnectorStrategy
-
- All Implemented Interfaces:
ConnectorResetStrategy
public class ResetAllFailedConnectorStrategy extends java.lang.Object implements ConnectorResetStrategy
- Author:
- Elias Ricken de Medeiros
-
-
Constructor Summary
Constructors Constructor Description ResetAllFailedConnectorStrategy(ConnectorInstanceService connectorInstanceService, ConnectorReseter connectorReseter, int maxResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresetConnectorsOf(long flowNodeInstanceId)Reset allSConnectorInstances related to the given activity that are in the failed state to the stateConnectorStateReset.TO_RE_EXECUTE
-
-
-
Constructor Detail
-
ResetAllFailedConnectorStrategy
public ResetAllFailedConnectorStrategy(ConnectorInstanceService connectorInstanceService, ConnectorReseter connectorReseter, int maxResults)
-
-
Method Detail
-
resetConnectorsOf
public void resetConnectorsOf(long flowNodeInstanceId) throws org.bonitasoft.engine.bpm.flownode.ActivityExecutionExceptionReset 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
-
-