| Modifier and Type | Method and Description |
|---|---|
static ValidatorConfiguration |
create(Class<?> objectType,
Map<String,String> constraints)
Constructs a new
ValidatorConfiguration. |
Map<String,String> |
getConstraints() |
<T> Class<T> |
getObjectType()
Returns the object type the validator is intended for.
|
public static ValidatorConfiguration create(Class<?> objectType, Map<String,String> constraints)
ValidatorConfiguration.objectType - the object type the validator is intended forconstraints - the constraints the validator shall be initialized withpublic <T> Class<T> getObjectType()
T - the expected typeCopyright © 2014. All rights reserved.