Class FixedInterpolatorValueSource
java.lang.Object
org.codehaus.plexus.interpolation.FixedInterpolatorValueSource
- All Implemented Interfaces:
ValueSource
A value source that allows a fixed interpolator to be injected into
a regular interpolator. This value source encapsulates state, so even though
the fixed interpolator can be used as a singleton, a single FixedInterpolatorValueSource
can only belong to one interpolator any given time.
-
Constructor Summary
ConstructorsConstructorDescriptionFixedInterpolatorValueSource(FixedStringSearchInterpolator fixedStringSearchInterpolator) -
Method Summary
Modifier and TypeMethodDescriptionvoidClear the feedback accumulated by a prior interpolation run.Return the feedback about resolution failures for a particular expression.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.plexus.interpolation.ValueSource
getValue
-
Constructor Details
-
FixedInterpolatorValueSource
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceValueSource- Parameters:
expression- The string expression.- Returns:
- the value related to the expression, or
nullif not found. - See Also:
-
getFeedback
Description copied from interface:ValueSourceReturn the feedback about resolution failures for a particular expression.- Specified by:
getFeedbackin interfaceValueSource- Returns:
- a combination of String and Throwable instances, where strings related to throwables are listed first.
-
clearFeedback
public void clearFeedback()Description copied from interface:ValueSourceClear the feedback accumulated by a prior interpolation run.- Specified by:
clearFeedbackin interfaceValueSource
-