Class DefaultModelInterpolator
java.lang.Object
org.apache.maven.internal.impl.model.DefaultModelInterpolator
- All Implemented Interfaces:
ModelInterpolator
-
Constructor Summary
ConstructorDescriptionDefaultModelInterpolator
(PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator, Interpolator interpolator) -
Method Summary
Modifier and TypeMethodDescriptiongetProjectPrefixes
(ModelBuilderRequest request) interpolateModel
(Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) Interpolates expressions in the specified model.
-
Constructor Details
-
DefaultModelInterpolator
@Inject public DefaultModelInterpolator(PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator, Interpolator interpolator)
-
-
Method Details
-
interpolateModel
public Model interpolateModel(Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) Description copied from interface:ModelInterpolator
Interpolates expressions in the specified model.- Specified by:
interpolateModel
in interfaceModelInterpolator
- Parameters:
model
- The model to interpolate, must not benull
.projectDir
- The project directory, may benull
if the model does not belong to a local project but to some artifact's metadata.request
- The model building request that holds further settings, must not benull
.problems
- The container used to collect problems that were encountered, must not benull
.- Returns:
- The interpolated model, never
null
.
-
getProjectPrefixes
-