Class AbstractValueSource

java.lang.Object
org.codehaus.plexus.interpolation.AbstractValueSource
All Implemented Interfaces:
ValueSource
Direct Known Subclasses:
EnvarBasedValueSource, FeedbackingValueSource, MapBasedValueSource, ObjectBasedValueSource, PropertiesBasedValueSource

public abstract class AbstractValueSource extends Object implements ValueSource
  • Constructor Details Link icon

    • AbstractValueSource Link icon

      protected AbstractValueSource(boolean usesFeedback)
  • Method Details Link icon

    • clearFeedback Link icon

      public void clearFeedback()
      Description copied from interface: ValueSource
      Clear the feedback accumulated by a prior interpolation run.
      Specified by:
      clearFeedback in interface ValueSource
    • getFeedback Link icon

      public List getFeedback()
      Description copied from interface: ValueSource
      Return the feedback about resolution failures for a particular expression.
      Specified by:
      getFeedback in interface ValueSource
      Returns:
      a combination of String and Throwable instances, where strings related to throwables are listed first.
    • addFeedback Link icon

      protected void addFeedback(String message)
    • addFeedback Link icon

      protected void addFeedback(String message, Throwable cause)