@FunctionalInterface public interface ParameterValueMapper
Modifier and Type | Field and Description |
---|---|
static ParameterValueMapper |
NONE
A
ParameterValueMapper that does nothing. |
Modifier and Type | Method and Description |
---|---|
Object |
mapParameterValue(OperationParameter parameter,
Object value)
Map the specified
input parameter to the given parameterType . |
static final ParameterValueMapper NONE
ParameterValueMapper
that does nothing.Object mapParameterValue(OperationParameter parameter, Object value) throws ParameterMappingException
input
parameter to the given parameterType
.parameter
- the parameter to mapvalue
- a parameter valueParameterMappingException
- when a mapping failure occurs