Interface ContextValidator
-
public interface ContextValidator
Context Validator class
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ContextValidator.ContextRejectionCause
Context Rejection Cause inner class
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ContextValidator.ContextRejectionCause>
validate(ContextModel context)
Validate a context object
-
-
-
Method Detail
-
validate
java.util.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
-
-