Class DefaultValidator

java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.runtime.parameter.DefaultValidator
All Implemented Interfaces:
Validator, PluginAware, Configurable, LogEnabled, Serviceable
Direct Known Subclasses:
AbstractIntervalFormValidator, CandidatesValidator, FileFormValidator, FileValidator, NameForFormValidator, ReferenceValidator, RegexpValidator, SQLDatabaseTypeValidator, TextValidator

This default implementation validates the following configurable stuff:
  • mandatory: check the parameter is set
  • regexp: check the string parameter matches a regexp