public class ValueResult extends Object
ResolveResult
for a successful ParameterResolver.resolve(org.springframework.core.MethodParameter, java.util.List<java.lang.String>)
operation.Constructor and Description |
---|
ValueResult(org.springframework.core.MethodParameter methodParameter,
Object resolvedValue) |
ValueResult(org.springframework.core.MethodParameter methodParameter,
Object resolvedValue,
BitSet wordsUsed,
BitSet wordsUsedForValue) |
Modifier and Type | Method and Description |
---|---|
org.springframework.core.MethodParameter |
methodParameter()
The
MethodParameter that was the target of the ParameterResolver.resolve(org.springframework.core.MethodParameter, java.util.List<java.lang.String>)
operation. |
Object |
resolvedValue()
Represents the resolved value for the
MethodParameter associated with this result. |
BitSet |
wordsUsed()
Represents the full set of words used to resolve the
MethodParameter . |
List<String> |
wordsUsed(List<String> words) |
BitSet |
wordsUsedForValue()
Represents the full set of words used to resolve the value of this
MethodParameter . |
List<String> |
wordsUsedForValue(List<String> words) |
public ValueResult(org.springframework.core.MethodParameter methodParameter, Object resolvedValue)
public org.springframework.core.MethodParameter methodParameter()
MethodParameter
that was the target of the ParameterResolver.resolve(org.springframework.core.MethodParameter, java.util.List<java.lang.String>)
operation.public Object resolvedValue()
MethodParameter
associated with this result.public BitSet wordsUsed()
MethodParameter
. This includes
any tags/keys consumed from the input.public BitSet wordsUsedForValue()
MethodParameter
.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.