Class FeedbackingValueSource
- java.lang.Object
-
- org.codehaus.plexus.interpolation.AbstractValueSource
-
- org.codehaus.plexus.interpolation.FeedbackingValueSource
-
- All Implemented Interfaces:
ValueSource
public class FeedbackingValueSource extends AbstractValueSource
Adds feedback on anygetValue(String)
call.One of the obvious usages is to add FeedbackingValueSource as last value source to
Interpolator
to add feedback messages indicating not resolved expressions.
-
-
Constructor Summary
Constructors Constructor Description FeedbackingValueSource()
FeedbackingValueSource(java.lang.String messagePattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue(java.lang.String expression)
-
Methods inherited from class org.codehaus.plexus.interpolation.AbstractValueSource
addFeedback, addFeedback, clearFeedback, getFeedback
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.plexus.interpolation.ValueSource
getValue
-
-
-
-
Method Detail
-
getValue
public 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. - See Also:
ValueSource.getValue(String, String, String)
-
-