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.constraintType, parameters
Constructor and Description |
---|
GenericConstraintDef(Class<A> constraintType) |
Modifier and Type | Method and Description |
---|---|
GenericConstraintDef<A> |
param(String key,
Object value) |
addParameter, groups, message, payload, toString
Copyright © 2016 JBoss by Red Hat. All rights reserved.