Interface ContextValidator
public interface ContextValidator
Context Validator class
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Context Rejection Cause inner class -
Method Summary
-
Method Details
-
validate
List<ContextValidator.ContextRejectionCause> validate(ContextModel context) throws ReferentialException, InvalidParseOperationException Validate a context object- Parameters:
context
- to validate- Returns:
- empty list if OK, Else return the rejection causes
- Throws:
ReferentialException
- in case referential exception is thrownInvalidParseOperationException
- in case of bad request
-