backtype.storm
Interface ConfigValidation.FieldValidator

Enclosing class:
ConfigValidation

public static interface ConfigValidation.FieldValidator

Declares methods for validating configuration values.


Method Summary
 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 © 2014 The Apache Software Foundation. All Rights Reserved.