Package org.apache.storm.validation
Class ConfigValidationAnnotations
java.lang.Object
org.apache.storm.validation.ConfigValidationAnnotations
Note: every annotation interface must have method `validatorClass()` For every annotation there must validator class to do the validation
 To add another annotation for config validation, add another annotation @interface class.  Implement the corresponding validator logic in
 a class in ConfigValidation.  Make sure validateField method in ConfigValidation knows how to use the validator and which method
 definition/parameters to pass in based on what fields are in the annotation.  By default, params of annotations will be passed into a
 constructor that takes a Map as a parameter.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic @interfaceFor custom validators.static @interfacestatic @interfacestatic @interfaceCustom validator where exactly one of the validations must be successful.static @interfacestatic @interfacestatic @interfacestatic @interfaceValidates each entry in a list with a list of validators Validators with fields: validatorClass and entryValidatorClass.static @interfacevalidates each entry in a list is of a certain type.static @interfacestatic @interfaceValidates a each key and value in a Map with a list of validators Validator with fields: validatorClass, keyValidatorClasses, valueValidatorClasses.static @interfaceValidates the type of each key and value in a map Validator with fields: validatorClass, keyValidatorClass, valueValidatorClass.static @interfaceValidates that there are no duplicates in a list.static @interfacestatic @interfaceChecks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero.static @interfacestatic @interfaceValidators with fields: validatorClass.static @interfacestatic @interfaceComplex/custom type validators.static @interfaceValidators with fields: validatorClass and type.static @interfaceValidates on object is not null.static @interfacestatic classField names for annotations.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ConfigValidationAnnotationspublic ConfigValidationAnnotations()
 
-