Class AbstractDelegatingValueSource
- java.lang.Object
-
- org.codehaus.plexus.interpolation.AbstractDelegatingValueSource
-
- All Implemented Interfaces:
ValueSource
- Direct Known Subclasses:
PrefixedObjectValueSource
,PrefixedPropertiesValueSource
public abstract class AbstractDelegatingValueSource extends java.lang.Object implements ValueSource
-
-
Field Summary
Fields Modifier and Type Field Description private ValueSource
delegate
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDelegatingValueSource(ValueSource delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearFeedback()
Clear the feedback accumulated by a prior interpolation run.protected ValueSource
getDelegate()
java.util.List
getFeedback()
Return the feedback about resolution failures for a particular expression.java.lang.Object
getValue(java.lang.String expression)
-
-
-
Field Detail
-
delegate
private final ValueSource delegate
-
-
Constructor Detail
-
AbstractDelegatingValueSource
protected AbstractDelegatingValueSource(ValueSource delegate)
-
-
Method Detail
-
getDelegate
protected ValueSource getDelegate()
-
getValue
public java.lang.Object getValue(java.lang.String expression)
- Specified by:
getValue
in interfaceValueSource
- Parameters:
expression
- The string expression.- Returns:
- the value related to the expression, or null if not found.
-
clearFeedback
public void clearFeedback()
Description copied from interface:ValueSource
Clear the feedback accumulated by a prior interpolation run.- Specified by:
clearFeedback
in interfaceValueSource
-
getFeedback
public java.util.List 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.
-
-