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 © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved