org.apache.storm.validation

## Interface ConfigValidationUtils.FieldValidator

- All Known Implementing Classes:
    ConfigValidationUtils.NestableFieldValidator
  Enclosing class:
    ConfigValidationUtils

      public static interface ConfigValidationUtils.FieldValidator

  Declares methods for validating configuration values.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validateField(String name, Object field)` Validates the given field.

- - ### Method Detail

    - #### validateField

          void validateField(String name,
                             Object field)
                      throws IllegalArgumentException

      Validates the given field.

      Parameters:
        `name` - the name of the field.
        `field` - The field to be validated.
      Throws:
        `IllegalArgumentException` - if the field fails validation.

Copyright © 2021 The Apache Software Foundation. All rights reserved.