public class VisitorMessageRule extends AbstractMessageRule
ValidatingMessageVisitor
over the message,
collecting exceptions while traversingConstructor and Description |
---|
VisitorMessageRule(MessageVisitorFactory<? extends ValidatingMessageVisitor> visitorFactory) |
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
apply(Message message)
Applies to rule to an object to be checked
|
test
failed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getSectionReference
public VisitorMessageRule(MessageVisitorFactory<? extends ValidatingMessageVisitor> visitorFactory)
public ValidationException[] apply(Message message)
Rule
message
- object to be checkedCopyright © 2001–2017 University Health Network. All rights reserved.