Package org.springframework.shell
Class ValueResult
java.lang.Object
org.springframework.shell.ValueResult
A result for a successful resolve operation.
-
Constructor Summary
ConstructorDescriptionValueResult
(org.springframework.core.MethodParameter methodParameter, Object resolvedValue) ValueResult
(org.springframework.core.MethodParameter methodParameter, Object resolvedValue, BitSet wordsUsed, BitSet wordsUsedForValue) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.MethodParameter
TheMethodParameter
that was the target of the resolve operation.Represents the resolved value for theMethodParameter
associated with this result.Represents the full set of words used to resolve theMethodParameter
.Represents the full set of words used to resolve the value of thisMethodParameter
.wordsUsedForValue
(List<String> words)
-
Constructor Details
-
ValueResult
-
ValueResult
-
-
Method Details
-
methodParameter
public org.springframework.core.MethodParameter methodParameter()TheMethodParameter
that was the target of the resolve operation. -
resolvedValue
Represents the resolved value for theMethodParameter
associated with this result. -
wordsUsed
Represents the full set of words used to resolve theMethodParameter
. This includes any tags/keys consumed from the input. -
wordsUsedForValue
Represents the full set of words used to resolve the value of thisMethodParameter
. -
wordsUsed
-
wordsUsedForValue
-