Interface PauseConnectorStateValidator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PauseConnectorStateValidator
Validator called during thePauseConnectorHandler
execution, may be used to provide custom connector state validation.Default implementation of this validator calls the
PUBLIC.PAUSE_CONNECTOR_VALIDATE
procedure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorResponse
validate()
Validates the state of the connector.
-
-
-
Method Detail
-
validate
ConnectorResponse validate()
Validates the state of the connector.- Returns:
- a response with the code
OK
if the validation was successful, otherwise a response with an error code and an error message
-
-