Class AbstractValueSource

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List feedback  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractValueSource​(boolean usesFeedback)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addFeedback​(java.lang.String message)  
      protected void addFeedback​(java.lang.String message, java.lang.Throwable cause)  
      void clearFeedback()
      Clear the feedback accumulated by a prior interpolation run.
      java.util.List getFeedback()
      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
    • Field Detail

      • feedback

        private final java.util.List feedback
    • Constructor Detail

      • AbstractValueSource

        protected AbstractValueSource​(boolean usesFeedback)
    • Method Detail

      • clearFeedback

        public void clearFeedback()
        Description copied from interface: ValueSource
        Clear the feedback accumulated by a prior interpolation run.
        Specified by:
        clearFeedback in interface ValueSource
      • 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 interface ValueSource
        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)