Package org.apache.storm.validation

# Class ConfigValidation.StringOrStringListValidator

java.lang.Object
org.apache.storm.validation.ConfigValidation.Validator
org.apache.storm.validation.ConfigValidation.StringOrStringListValidator

Enclosing class:
  ConfigValidation

public static class ConfigValidation.StringOrStringListValidator extends ConfigValidation.Validator
Validates a String or a list of Strings.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StringOrStringListValidator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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 Details

  - ### StringOrStringListValidator

    public StringOrStringListValidator()

- ## Method Details

  - ### validateField

    public void validateField(String name, Object o)
    Specified by:
      `validateField` in class `ConfigValidation.Validator`