Package org.ametys.runtime.parameter
Interface Validator
- All Known Implementing Classes:
AbstractIntervalFormValidator
,CandidatesValidator
,DateTimeIntervalFormValidator
,DefaultValidator
,FileFormValidator
,LocalDateIntervalFormValidator
,NameForFormValidator
,NumberIntervalFormValidator
,ReferenceValidator
,RegexpValidator
,RichTextValidator
,SQLDatabaseTypeValidator
,TextValidator
public interface Validator
Validator for parameters values
-
Method Summary
-
Method Details
-
validate
Validates a value.- Parameters:
value
- the value to validate (can benull
).errors
- the structure to populate if the validation failed.
-
getConfiguration
Retrieves the configuration of the validator.- Returns:
- a map containing the configuration information.
-