|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationCheck<ConstraintAnnotation extends Annotation>
Interface for constraint checks that are configurable via annotations.
Method Summary | |
---|---|
void |
configure(ConstraintAnnotation constraintAnnotation)
Configures the check based on the given constraint annotation. |
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 |
Method Detail |
---|
void configure(ConstraintAnnotation constraintAnnotation) throws InvalidConfigurationException
constraintAnnotation
- the constraint annotation to use for configuration
InvalidConfigurationException
- in case of an illegal configuration setting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |