Package org.apache.storm.validation

# Class ConfigValidation.PositiveNumberValidator

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

Enclosing class:
  ConfigValidation

public static class ConfigValidation.PositiveNumberValidator extends ConfigValidation.Validator
Validates a positive number.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `validateField(String name, boolean includeZero, 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 Details

  - ### PositiveNumberValidator

    public PositiveNumberValidator()

  - ### PositiveNumberValidator

    public PositiveNumberValidator(Map<String,Object> params)

- ## Method Details

  - ### validateField

    public static void validateField(String name, boolean includeZero, Object o)

  - ### validateField

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