Interface ConfigDef.Validator

All Known Implementing Classes:
ConfigDef.CaseInsensitiveValidString, ConfigDef.CompositeValidator, ConfigDef.LambdaValidator, ConfigDef.NonEmptyString, ConfigDef.NonEmptyStringWithoutControlChars, ConfigDef.NonNullValidator, ConfigDef.Range, ConfigDef.ValidList, ConfigDef.ValidString
Enclosing class:

public static interface ConfigDef.Validator
Validation logic the user may provide to perform single configuration validation.
  • Method Summary

    Modifier and Type Method Description
    void ensureValid​(String name, Object value)
    Perform single configuration validation.
  • Method Details

    • ensureValid

      void ensureValid​(String name, Object value)
      Perform single configuration validation.
      name - The name of the configuration
      value - The value of the configuration
      ConfigException - if the value is invalid.