Package org.apache.commons.attributes.validation

Provides an API for validating internal consistency among attributes.

See:
          Description

Interface Summary
AttributeValidator Validates that a set of classes have the correct attributes attached to them.
 

Class Summary
AttributeValidatorTask Ant task that validates attributes.
AttributeValidatorTask.Validator  
 

Exception Summary
ValidationException Thrown by AttributeValidators when an invalid set of attributes are detected.
 

Package org.apache.commons.attributes.validation Description

Provides an API for validating internal consistency among attributes.

Many times, an attribute will only make sense in some context. For example, you may have one attribute that must either be applied to no methods, or to all methods in a class. An attribute may require the presence of another attribute.

The AttributeValidatorTask Ant task and its API enables you to define those rules and run them as part of your regular build.



Copyright © The Apache Software Foundation. All Rights Reserved.