public class ResetAllFailedConnectorStrategy extends Object implements ConnectorResetStrategy
| Constructor and Description |
|---|
ResetAllFailedConnectorStrategy(org.bonitasoft.engine.core.connector.ConnectorInstanceService connectorInstanceService,
ConnectorReseter connectorReseter,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetConnectorsOf(long flowNodeInstanceId)
Reset all
SConnectorInstances related to the given activity that are in the failed state
to the state ConnectorStateReset.TO_RE_EXECUTE |
public ResetAllFailedConnectorStrategy(org.bonitasoft.engine.core.connector.ConnectorInstanceService connectorInstanceService,
ConnectorReseter connectorReseter,
int maxResults)
public void resetConnectorsOf(long flowNodeInstanceId)
throws ActivityExecutionException
SConnectorInstances related to the given activity that are in the failed state
to the state ConnectorStateReset.TO_RE_EXECUTEresetConnectorsOf in interface ConnectorResetStrategyflowNodeInstanceId - the identifier of the SActivityInstance where the connectors are
attached to.ActivityExecutionExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.