|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationResults
Collates results of validation operations.
Following the lead the excelent design work in the JUnit testing framework validation results are collected by a ValidationResults object. This interface for the ValidationResults object also allows it to collect warning information.
modules/extension/validation (gt-validation.jar)
Method Summary | |
---|---|
void |
error(SimpleFeature feature,
String message)
Returns a validation error on against the provided feature, An optional error message may be provided. |
void |
setValidation(Validation validation)
Called to configure ValidationResults according to the provided FeatureValidation |
void |
warning(SimpleFeature feature,
String message)
Returns a validation warning against the provided feature. |
Method Detail |
---|
void setValidation(Validation validation)
validation
- Provided FeatureValidationvoid error(SimpleFeature feature, String message)
feature
- Feature found invalidmessage
- Optional error message. Use a non null message to provide
specific failure information.void warning(SimpleFeature feature, String message)
feature
- Feature found to be in errormessage
- Optional warning message. Use a non null message to
provide specific warning information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |