Package 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

  Modifier and Type
  Method
  Description
  `void`
  `validateField(String name, Object field)`
  Validates the given field.

- ## Method Details

  - ### 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.