# Package org.apache.storm.validation

package org.apache.storm.validation

- Related Packages
  Package
  Description
  org.apache.storm
- Class
  Description
  ConfigValidation
  Provides functionality for validating configuration fields.
  ConfigValidation.BooleanValidator
  ConfigValidation.ClusterMetricRegistryValidator
  ConfigValidation.CustomIsExactlyOneOfValidators
  ConfigValidation.DerivedTypeValidator
  Checks if the named type derives from the specified Class.
  ConfigValidation.DoubleValidator
  ConfigValidation.EventLoggerRegistryValidator
  ConfigValidation.ImpersonationAclUserEntryValidator
  Validates an entry for ImpersonationAclUser.
  ConfigValidation.ImplementsClassValidator
  ConfigValidation.IntegerValidator
  Validates a Integer.
  ConfigValidation.KryoRegValidator
  Validates Kryo Registration.
  ConfigValidation.ListEntryCustomValidator
  Validates each entry in a list against a list of custom Validators.
  ConfigValidation.ListEntryTypeValidator
  Validates each entry in a list.
  ConfigValidation.ListOfListOfStringValidator
  Validates a list of a list of Strings.
  ConfigValidation.LongValidator
  Validates a Long.
  ConfigValidation.MapEntryCustomValidator
  validates each key and each value against the respective arrays of validators.
  ConfigValidation.MapEntryTypeValidator
  validates each key and value in a map of a certain type.
  ConfigValidation.MapOfStringToMapOfStringToObjectValidator
  ConfigValidation.MetricRegistryValidator
  ConfigValidation.MetricReportersValidator
  ConfigValidation.NoDuplicateInListValidator
  validates a list of has no duplicates.
  ConfigValidation.NotNullValidator
  Validates if an object is not null.
  ConfigValidation.NumberValidator
  ConfigValidation.PacemakerAuthTypeValidator
  ConfigValidation.PositiveNumberValidator
  Validates a positive number.
  ConfigValidation.PowerOf2Validator
  Validates if a number is a power of 2.
  ConfigValidation.RasConstraintsTypeValidator
  ConfigValidation.SimpleTypeValidator
  Validates basic types.
  ConfigValidation.StringOrStringListValidator
  Validates a String or a list of Strings.
  ConfigValidation.StringValidator
  ConfigValidation.UserResourcePoolEntryValidator
  ConfigValidation.Validator
  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.
  ConfigValidationAnnotations.CustomValidator
  For custom validators.
  ConfigValidationAnnotations.IsBoolean
  ConfigValidationAnnotations.IsDerivedFrom
  ConfigValidationAnnotations.IsExactlyOneOf
  Custom validator where exactly one of the validations must be successful.
  ConfigValidationAnnotations.IsImplementationOfClass
  ConfigValidationAnnotations.IsInteger
  ConfigValidationAnnotations.IsKryoReg
  ConfigValidationAnnotations.IsListEntryCustom
  Validates each entry in a list with a list of validators Validators with fields: validatorClass and entryValidatorClass.
  ConfigValidationAnnotations.IsListEntryType
  validates each entry in a list is of a certain type.
  ConfigValidationAnnotations.IsLong
  ConfigValidationAnnotations.IsMapEntryCustom
  Validates a each key and value in a Map with a list of validators Validator with fields: validatorClass, keyValidatorClasses, valueValidatorClasses.
  ConfigValidationAnnotations.IsMapEntryType
  Validates the type of each key and value in a map Validator with fields: validatorClass, keyValidatorClass, valueValidatorClass.
  ConfigValidationAnnotations.IsNoDuplicateInList
  Validates that there are no duplicates in a list.
  ConfigValidationAnnotations.IsNumber
  ConfigValidationAnnotations.IsPositiveNumber
  Checks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero.
  ConfigValidationAnnotations.IsPowerOf2
  ConfigValidationAnnotations.IsString
  Validators with fields: validatorClass.
  ConfigValidationAnnotations.IsStringList
  ConfigValidationAnnotations.IsStringOrStringList
  Complex/custom type validators.
  ConfigValidationAnnotations.IsType
  Validators with fields: validatorClass and type.
  ConfigValidationAnnotations.NotNull
  Validates on object is not null.
  ConfigValidationAnnotations.Password
  ConfigValidationAnnotations.ValidatorParams
  Field names for annotations.
  ConfigValidationUtils
  ConfigValidationUtils.FieldValidator
  Declares methods for validating configuration values.
  ConfigValidationUtils.NestableFieldValidator
  Declares a method for validating configuration values that is nestable.
  NotConf
  Annotation that can be used to explicitly call out public static final String fields that are not configs.
  Validated
  An interface that is used to inform config validation what to look at.