public class ConstraintDefinitionContribution<A extends Annotation> extends Object
Constructor and Description |
---|
ConstraintDefinitionContribution(Class<A> constraintType,
List<ConstraintValidatorDescriptor<A>> validatorDescriptors,
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<ConstraintValidatorDescriptor<A>> |
getValidatorDescriptors()
Returns a list of constraint validator descriptors 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 ConstraintDefinitionContribution(Class<A> constraintType, List<ConstraintValidatorDescriptor<A>> validatorDescriptors, boolean includeExisting)
public Class<A> getConstraintType()
public List<ConstraintValidatorDescriptor<A>> getValidatorDescriptors()
public boolean includeExisting()
true
if the existing constraint validators for the constraint type wrapped by this
instance should be kept, false
otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.