Interface ParameterTarget
- All Known Subinterfaces:
ConstructorConstraintMappingContext
,ContainerElementConstraintMappingContext
,CrossParameterConstraintMappingContext
,MethodConstraintMappingContext
,ParameterConstraintMappingContext
,ReturnValueConstraintMappingContext
- All Known Implementing Classes:
ContainerElementConstraintMappingContextImpl
public interface ParameterTarget
Facet 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
Modifier and TypeMethodDescriptionparameter
(int index) Changes the parameter for which added constraints apply.
-
Method Details
-
parameter
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.
-