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