Interface ReturnValueTarget
- All Known Subinterfaces:
ConstructorConstraintMappingContext
,ContainerElementConstraintMappingContext
,CrossParameterConstraintMappingContext
,MethodConstraintMappingContext
,ParameterConstraintMappingContext
- All Known Implementing Classes:
ContainerElementConstraintMappingContextImpl
public interface ReturnValueTarget
Facet of a constraint mapping creational context which allows to select the current method's or constructor's
return value as target for the next operations.
- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptionSelects the current method's return value as the target for the next operations.
-
Method Details
-
returnValue
ReturnValueConstraintMappingContext returnValue()Selects the current method's return value as the target for the next operations. The return value of one method or constructor may only be configured more once.- Returns:
- A creational context representing the current method's or constructor's return value.
-