net.sf.oval.configuration.annotation
Class AbstractAnnotationCheck<ConstraintAnnotation extends Annotation>
java.lang.Object
net.sf.oval.AbstractCheck
net.sf.oval.configuration.annotation.AbstractAnnotationCheck<ConstraintAnnotation>
- All Implemented Interfaces:
- Serializable, Check, AnnotationCheck<ConstraintAnnotation>
- Direct Known Subclasses:
- AssertCheck, AssertConstraintSetCheck, AssertFalseCheck, AssertFieldConstraintsCheck, AssertNullCheck, AssertTrueCheck, AssertURLCheck, AssertValidCheck, CheckWithCheck, DateRangeCheck, DigitsCheck, EmailCheck, EqualToFieldCheck, FutureCheck, HasSubstringCheck, InstanceOfAnyCheck, InstanceOfCheck, LengthCheck, MatchPatternCheck, MaxCheck, MaxLengthCheck, MaxSizeCheck, MemberOfCheck, MinCheck, MinLengthCheck, MinSizeCheck, NoSelfReferenceCheck, NotBlankCheck, NotEmptyCheck, NotEqualCheck, NotEqualToFieldCheck, NotMatchPatternCheck, NotMemberOfCheck, NotNegativeCheck, NotNullCheck, PastCheck, RangeCheck, SizeCheck, ValidateWithMethodCheck
public abstract class AbstractAnnotationCheck<ConstraintAnnotation extends Annotation>
- extends AbstractCheck
- implements AnnotationCheck<ConstraintAnnotation>
Partial implementation of check classes configurable via annotations.
- Author:
- Sebastian Thomschke
- See Also:
- Serialized Form
Methods inherited from class net.sf.oval.AbstractCheck |
createMessageVariables, getAppliesTo, getAppliesToDefault, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getTarget, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.oval.Check |
getAppliesTo, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getTarget, getWhen, isActive, isSatisfied, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhen |
AbstractAnnotationCheck
public AbstractAnnotationCheck()
configure
public void configure(ConstraintAnnotation constraintAnnotation)
- Configures the check based on the given constraint annotation.
- Specified by:
configure
in interface AnnotationCheck<ConstraintAnnotation extends Annotation>
- Parameters:
constraintAnnotation
- the constraint annotation to use for configuration
Copyright © 2005-2013 The OVal Development Team. All Rights Reserved.