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 the PauseConnectorHandler execution, may be used to provide custom connector state validation.

    Default implementation of this validator calls the PUBLIC.PAUSE_CONNECTOR_VALIDATE procedure.

    • 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