org.apache.storm.validation

## Class ConfigValidation.MapEntryTypeValidator

- java.lang.Object
- - org.apache.storm.validation.ConfigValidation.Validator
  - - org.apache.storm.validation.ConfigValidation.MapEntryTypeValidator

- Enclosing class:
    ConfigValidation

      public static class ConfigValidation.MapEntryTypeValidator
      extends ConfigValidation.Validator

  validates each key and value in a map of a certain type.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MapEntryTypeValidator(Map<String,Object> params)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `validateField(String name, Class<?> keyType, Class<?> valueType, Object o)`
    `void` | `validateField(String name, Object o)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MapEntryTypeValidator

          public MapEntryTypeValidator(Map<String,Object> params)

  - ### Method Detail

    - #### validateField

          public static void validateField(String name,
                                           Class<?> keyType,
                                           Class<?> valueType,
                                           Object o)

    - #### validateField

          public void validateField(String name,
                                    Object o)

      Specified by:
        `validateField` in class `ConfigValidation.Validator`

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