Interface ValueSource
-
- All Known Subinterfaces:
FeedbackEnabledValueSource,QueryEnabledValueSource
- All Known Implementing Classes:
AbstractDelegatingValueSource,AbstractFunctionValueSourceWrapper,AbstractValueSource,EnvarBasedValueSource,FixedInterpolatorValueSource,MapBasedValueSource,ObjectBasedValueSource,PrefixedObjectValueSource,PrefixedPropertiesValueSource,PrefixedValueSourceWrapper,PropertiesBasedValueSource,SingleResponseValueSource
public interface ValueSourceSupplies one strategy for resolving a value for an interpolation expression. ValueSources may be stacked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearFeedback()Clear the feedback accumulated by a prior interpolation run.java.util.ListgetFeedback()Return the feedback about resolution failures for a particular expression.java.lang.ObjectgetValue(java.lang.String expression)
-
-
-
Method Detail
-
getValue
java.lang.Object getValue(java.lang.String expression)
- Parameters:
expression- The string expression.- Returns:
- the value related to the expression, or null if not found.
-
getFeedback
java.util.List getFeedback()
Return the feedback about resolution failures for a particular expression.- Returns:
- a combination of String and Throwable instances, where strings related to throwables are listed first.
-
clearFeedback
void clearFeedback()
Clear the feedback accumulated by a prior interpolation run.
-
-