Class ProblemDetectingValueSource

  • All Implemented Interfaces:
    org.codehaus.plexus.interpolation.ValueSource

    class ProblemDetectingValueSource
    extends java.lang.Object
    implements org.codehaus.plexus.interpolation.ValueSource
    Wraps another value source and intercepts interpolated expressions, checking for problems.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProblemDetectingValueSource​(org.codehaus.plexus.interpolation.ValueSource valueSource, java.lang.String bannedPrefix, java.lang.String newPrefix, ModelProblemCollector problems)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearFeedback()  
      java.util.List getFeedback()  
      java.lang.Object getValue​(java.lang.String expression)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.codehaus.plexus.interpolation.ValueSource

        getValue
    • Field Detail

      • valueSource

        private final org.codehaus.plexus.interpolation.ValueSource valueSource
      • bannedPrefix

        private final java.lang.String bannedPrefix
      • newPrefix

        private final java.lang.String newPrefix
    • Constructor Detail

      • ProblemDetectingValueSource

        ProblemDetectingValueSource​(org.codehaus.plexus.interpolation.ValueSource valueSource,
                                    java.lang.String bannedPrefix,
                                    java.lang.String newPrefix,
                                    ModelProblemCollector problems)
    • Method Detail

      • getValue

        public java.lang.Object getValue​(java.lang.String expression)
        Specified by:
        getValue in interface org.codehaus.plexus.interpolation.ValueSource
      • getFeedback

        public java.util.List getFeedback()
        Specified by:
        getFeedback in interface org.codehaus.plexus.interpolation.ValueSource
      • clearFeedback

        public void clearFeedback()
        Specified by:
        clearFeedback in interface org.codehaus.plexus.interpolation.ValueSource