public class NotEmptyListRule<E> extends Rule<NotEmptyListRule<E>>
Rule.PriorityComparator| Constructor and Description |
|---|
NotEmptyListRule(java.util.Collection<E> collection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInstance(ValidatorView view) |
protected void |
checkView(ValidatorView view) |
getPriority, setContext, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setPriority, validatepublic NotEmptyListRule(java.util.Collection<E> collection)
protected void checkView(ValidatorView view) throws ValidationException
checkView in class Rule<NotEmptyListRule<E>>ValidationExceptionprotected void checkInstance(ValidatorView view) throws java.lang.IllegalArgumentException
checkInstance in class Rule<NotEmptyListRule<E>>java.lang.IllegalArgumentException