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 Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final ModelProblemCollectorprivate final org.codehaus.plexus.interpolation.ValueSource -
Constructor Summary
ConstructorsConstructorDescriptionProblemDetectingValueSource(org.codehaus.plexus.interpolation.ValueSource valueSource, String bannedPrefix, String newPrefix, ModelProblemCollector problems) -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Field Details
-
valueSource
private final org.codehaus.plexus.interpolation.ValueSource valueSource -
bannedPrefix
-
newPrefix
-
problems
-
-
Constructor Details
-
ProblemDetectingValueSource
ProblemDetectingValueSource(org.codehaus.plexus.interpolation.ValueSource valueSource, String bannedPrefix, String newPrefix, ModelProblemCollector problems)
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceorg.codehaus.plexus.interpolation.ValueSource
-
getFeedback
- Specified by:
getFeedbackin interfaceorg.codehaus.plexus.interpolation.ValueSource
-
clearFeedback
public void clearFeedback()- Specified by:
clearFeedbackin interfaceorg.codehaus.plexus.interpolation.ValueSource
-