Class SingleResponseValueSource
java.lang.Object
org.codehaus.plexus.interpolation.SingleResponseValueSource
- All Implemented Interfaces:
ValueSource
If the expression matches, simply return the response object.
- Since:
- 1.12
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear the feedback accumulated by a prior interpolation run.Return the feedback about resolution failures for a particular expression.
-
Constructor Details
-
SingleResponseValueSource
-
-
Method Details
-
clearFeedback
public void clearFeedback()Description copied from interface:ValueSource
Clear the feedback accumulated by a prior interpolation run.- Specified by:
clearFeedback
in interfaceValueSource
-
getFeedback
Description copied from interface:ValueSource
Return the feedback about resolution failures for a particular expression.- Specified by:
getFeedback
in interfaceValueSource
- Returns:
- a combination of String and Throwable instances, where strings related to throwables are listed first.
-
getValue
- Specified by:
getValue
in interfaceValueSource
- Parameters:
expression
- The string expression.- Returns:
- the value related to the expression, or null if not found.
-