Class ProblemDetectingValueSource

java.lang.Object
org.apache.maven.model.interpolation.ProblemDetectingValueSource
All Implemented Interfaces:
org.codehaus.plexus.interpolation.ValueSource

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

    • valueSource

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

      private final String bannedPrefix
    • newPrefix

      private final String newPrefix
    • problems

      private final ModelProblemCollector problems
  • Constructor Details

    • ProblemDetectingValueSource

      ProblemDetectingValueSource(org.codehaus.plexus.interpolation.ValueSource valueSource, String bannedPrefix, String newPrefix, ModelProblemCollector problems)
  • Method Details

    • getValue

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

      public 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