Interface ConnectionConfigurationInputValidator

  • 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 ConnectionConfigurationInputValidator
    A validator for the input of ConnectionConfigurationHandler and UpdateConnectionConfigurationHandler, may be used to provide custom connection configuration validation.

    Default implementation for setting configuration of this validator calls the PUBLIC.SET_CONNECTION_CONFIGURATION_VALIDATE procedure.

    Default implementation for configuration update of this validator calls the PUBLIC.UPDATE_CONNECTION_CONFIGURATION_VALIDATE procedure.

    • Method Detail

      • validate

        ConnectorResponse validate​(Variant configuration)
        Validates the provided connection configuration.
        Parameters:
        configuration - connection 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