Class ProblemDetectingValueSource

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

@Deprecated(since="4.0.0") class ProblemDetectingValueSource extends Object implements org.codehaus.plexus.interpolation.ValueSource
Deprecated.
use ModelBuilder instead
Wraps another value source and intercepts interpolated expressions, checking for problems.
  • Field Details

    • valueSource

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

      private final String bannedPrefix
      Deprecated.
    • newPrefix

      private final String newPrefix
      Deprecated.
    • problems

      private final ModelProblemCollector problems
      Deprecated.
  • Constructor Details

    • ProblemDetectingValueSource

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

    • getValue

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

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

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