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 String
private final String
private final ModelProblemCollector
private 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:
getValue
in interfaceorg.codehaus.plexus.interpolation.ValueSource
-
getFeedback
- Specified by:
getFeedback
in interfaceorg.codehaus.plexus.interpolation.ValueSource
-
clearFeedback
public void clearFeedback()- Specified by:
clearFeedback
in interfaceorg.codehaus.plexus.interpolation.ValueSource
-