Class AbstractDelegatingValueSource

    • 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)  
      java.lang.Object getValue​(java.lang.String expression, java.lang.String delimiterStart, java.lang.String delimiterEnd)
      Returns a value resolved from an expression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDelegatingValueSource

        protected AbstractDelegatingValueSource​(ValueSource delegate)
    • Method Detail

      • getValue

        public java.lang.Object getValue​(java.lang.String expression,
                                         java.lang.String delimiterStart,
                                         java.lang.String delimiterEnd)
        Description copied from interface: ValueSource
        Returns a value resolved from an expression. The return value is recursively resolved via BasicInterpolator.interpolate(String), i.e. might contain expressions as well.
        Specified by:
        getValue in interface ValueSource
        Parameters:
        expression - The string expression.
        delimiterStart - A valid start delimiter of the expression to be used with the calling Interpolator (by default ${).
        delimiterEnd - A valid end delimiter of the expression to be used with the calling Interpolator (by default }).
        Returns:
        the value related to the expression, or null if not found. This value might contain other expressions separated by expressionStartDelimiter and expressionEndDelimiter
      • 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.