Interface Validator
- All Known Subinterfaces:
DocumentViewXmlValidator,FilterValidator,GenericJcrDataValidator,GenericMetaInfDataValidator,JcrPathValidator,MetaInfPathValidator,NodePathValidator,OsgiConfigurationValidator,PropertiesValidator
@ProviderType
public interface Validator
Base interface for all validators. Instead of implementing this generic interface each validator should rather implement one of the
sub interfaces.
A validator is created per
ValidationContext individually and only used from a single thread.
Also the instance is only used for one package at most (i.e. subpackages get another instance).-
Method Summary
Modifier and TypeMethodDescription@Nullable Collection<ValidationMessage>done()Called when the validation is done for oneValidationContext(this instance is no longer needed)
-
Method Details
-
done
Called when the validation is done for oneValidationContext(this instance is no longer needed)- Returns:
- validation messages or
null
-