public class GenericConstraintDef<A extends Annotation> extends ConstraintDef<GenericConstraintDef<A>,A>
ConstraintDef
class which can be used to configure any constraint
type. For this purpose the class defines a generic method
param(String, Object)
which allows to add
arbitrary constraint parameters.Constructor and Description |
---|
GenericConstraintDef(Class<A> constraintType) |
Modifier and Type | Method and Description |
---|---|
GenericConstraintDef<A> |
param(String key,
Object value) |
groups, message, payload
addAnnotationAsParameter, addParameter, toString
Copyright © 2019 JBoss by Red Hat. All rights reserved.