public class GroupChainGenerator extends Object
Modified from the Hibernate validator for use with GWT.
Constructor and Description |
---|
GroupChainGenerator(ValidationGroupsMetadata validationGroupsMetadata) |
Modifier and Type | Method and Description |
---|---|
GroupChain |
getGroupChainFor(Collection<Class<?>> groups)
Generates a chain of groups to be validated given the specified validation groups.
|
String |
toString() |
public GroupChainGenerator(ValidationGroupsMetadata validationGroupsMetadata)
public GroupChain getGroupChainFor(Collection<Class<?>> groups)
groups
- The groups specified at the validation call.GroupChain
defining the order in which validation has to occur.Copyright © 2018. All rights reserved.