public class ConstraintDefinitionContribution<A extends Annotation> extends Object
| Constructor and Description |
|---|
ConstraintDefinitionContribution(Class<A> constraintType,
List<Class<? extends ConstraintValidator<A,?>>> constraintValidators,
boolean includeExisting) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class<A> |
getConstraintType()
Returns the constraint annotation type for which this instance provides constraint validator instances.
|
List<Class<? extends ConstraintValidator<A,?>>> |
getConstraintValidators()
Returns a list of constraint validator types for the constraint type of this instance.
|
int |
hashCode() |
boolean |
includeExisting()
Whether or not the existing constraint validators should be kept or not.
|
String |
toString() |
public Class<A> getConstraintType()
public List<Class<? extends ConstraintValidator<A,?>>> getConstraintValidators()
public boolean includeExisting()
true if the existing constraint validators for the constraint type wrapped by this
instance should be kept, false otherwise.Copyright © 2018 JBoss by Red Hat. All rights reserved.