org.codehaus.plexus.interpolation

Interface ValueSource

public interface ValueSource

Supplies one strategy for resolving a value for an interpolation expression. ValueSources may be stacked.

Version: $Id: ValueSource.java 7681 2008-08-22 20:34:22Z jdcasey $

Method Summary
voidclearFeedback()
Clear the feedback accumulated by a prior interpolation run.
ListgetFeedback()
Return the feedback about resolution failures for a particular expression.
ObjectgetValue(String expression)

Method Detail

clearFeedback

public void clearFeedback()
Clear the feedback accumulated by a prior interpolation run.

getFeedback

public 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.

getValue

public Object getValue(String expression)

Returns: the value related to the expression, or null if not found.

Copyright © 2001-2009 Codehaus. All Rights Reserved.