Interface ConfigureConnectorInputValidator

  • 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 ConfigureConnectorInputValidator
    A validator for the input of ConfigureConnectorHandler, may be used to provide custom connector configuration validation.

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

    • Method Detail

      • validate

        ConnectorResponse validate​(Variant configuration)
        Validates the provided connector configuration.
        Parameters:
        configuration - connector configuration provided to the handler
        Returns:
        a response with the code OK if the validation was successful, otherwise a response with an error code and an error message