Interface Validator

    • Method Detail

      • validate

        boolean validate​(java.lang.String name,
                         java.lang.Object value)
        Validates the configuration value.
        Parameters:
        name - name of the configuration setting
        value - value of the configuration setting
        Returns:
        true if it is a valid value, otherwise false.
      • documentation

        default java.lang.String documentation()
        Return the documentation for a given validator.
        Returns:
        the documentation for a given validator