public interface Validator
Modifier and Type | Method and Description |
---|---|
java.util.Collection<CSOValidationInfo> |
validate(CSOSearch csoSearch)
Perform the validation on the given
CSOSearch and return the
violations as CSOValidationInfo messages. |
java.util.Collection<CSOValidationInfo> validate(CSOSearch csoSearch) throws CLLException
CSOSearch
and return the
violations as CSOValidationInfo
messages. In case of no violations then return empty collection.csoSearch
- The CSOSearch
on which the validation rules have to be appliedCollection
of CSOValidationInfo
objects which holds the details about
violated Properties.CLLException
- in case of a failure to perform the validation.