| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public ValidationOrder | |
| public ValidationOrder | Returns: aValidationOrder for the given validation groupthe group to get as order group, boolean whether the given group should be expanded (i.e. flattened it
to its members if it is a sequence or group extending another
group) or not expand)Creates a |
| public ValidationOrder | Returns: an instance ofValidationOrder defining the order in which validation has to occurthe groups specified at the validation call groups)Generates a order of groups and sequences for the specified validation groups. |
| private void | insertInheritedGroups(Class<?>
the group interface clazz, DefaultValidationOrder the group chain we are currently building chain)Recursively add inherited groups into the group chain. |
| private void | insertSequence(Class<?> sequenceClass, Class<?>[] sequenceElements, boolean cache, DefaultValidationOrder validationOrder)
|
| private boolean | |
| private Sequence | resolveSequence(Class<?> sequenceClass, Class<?>[] sequenceElements, List<Class<?>> processedSequences)
|
| public String |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| resolvedSequences | back to summary |
|---|---|
| private final ConcurrentMap<Class<?>, Sequence> resolvedSequences | |
| ValidationOrderGenerator | back to summary |
|---|---|
| public ValidationOrderGenerator() | |
| addGroups | back to summary |
|---|---|
| private void addGroups(List<Group> resolvedGroupSequence, List<Group> groups) | |
| getDefaultValidationOrder | back to summary |
|---|---|
| public ValidationOrder getDefaultValidationOrder(Class<?> clazz, List<Class<?>> defaultGroupSequence) | |
| getValidationOrder | back to summary |
|---|---|
| public ValidationOrder getValidationOrder(Class<?> group, boolean expand) Creates a
| |
| getValidationOrder | back to summary |
|---|---|
| public ValidationOrder getValidationOrder(Collection<Class<?>> groups) Generates a order of groups and sequences for the specified validation groups.
| |
| insertInheritedGroups | back to summary |
|---|---|
| private void insertInheritedGroups(Class<?> clazz, DefaultValidationOrder chain) Recursively add inherited groups into the group chain.
| |
| insertSequence | back to summary |
|---|---|
| private void insertSequence(Class<?> sequenceClass, Class<?>[] sequenceElements, boolean cache, DefaultValidationOrder validationOrder) | |
| isGroupSequence | back to summary |
|---|---|
| private boolean isGroupSequence(Class<?> clazz) | |
| resolveSequence | back to summary |
|---|---|
| private Sequence resolveSequence(Class<?> sequenceClass, Class<?>[] sequenceElements, List<Class<?>> processedSequences) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |