Interface ParameterTarget
-
- All Known Subinterfaces:
ConstructorConstraintMappingContext,ContainerElementConstraintMappingContext,CrossParameterConstraintMappingContext,MethodConstraintMappingContext,ParameterConstraintMappingContext,ReturnValueConstraintMappingContext
- All Known Implementing Classes:
ContainerElementConstraintMappingContextImpl
public interface ParameterTargetFacet of a constraint mapping creational context which allows to select a method or constructor parameter to which the next operations shall apply.- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterConstraintMappingContextparameter(int index)Changes the parameter for which added constraints apply.
-
-
-
Method Detail
-
parameter
ParameterConstraintMappingContext parameter(int index)
Changes the parameter for which added constraints apply. A given parameter may only be configured once.- Parameters:
index- The parameter index.- Returns:
- A creational context representing the selected parameter.
-
-