Class AbstractValueSource
- java.lang.Object
-
- org.codehaus.plexus.interpolation.AbstractValueSource
-
- All Implemented Interfaces:
ValueSource
- Direct Known Subclasses:
EnvarBasedValueSource,MapBasedValueSource,ObjectBasedValueSource,PropertiesBasedValueSource
public abstract class AbstractValueSource extends java.lang.Object implements ValueSource
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Listfeedback
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractValueSource(boolean usesFeedback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFeedback(java.lang.String message)protected voidaddFeedback(java.lang.String message, java.lang.Throwable cause)voidclearFeedback()Clear the feedback accumulated by a prior interpolation run.java.util.ListgetFeedback()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, wait
-
Methods inherited from interface org.codehaus.plexus.interpolation.ValueSource
getValue
-
-
-
-
Method Detail
-
clearFeedback
public void clearFeedback()
Description copied from interface:ValueSourceClear the feedback accumulated by a prior interpolation run.- Specified by:
clearFeedbackin interfaceValueSource
-
getFeedback
public java.util.List 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.
-
addFeedback
protected void addFeedback(java.lang.String message)
-
addFeedback
protected void addFeedback(java.lang.String message, java.lang.Throwable cause)
-
-