Class DefaultModelInterpolator
java.lang.Object
org.apache.maven.internal.impl.model.DefaultModelInterpolator
- All Implemented Interfaces:
- ModelInterpolator
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classWraps an object, providing reflective access to the object graph of which the supplied object is the root.static classWraps an arbitrary object with anDefaultModelInterpolator.ObjectBasedValueSourceinstance, then wraps that source with aPrefixedValueSourceWrapperinstance, to which this class delegates all of its calls.
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultModelInterpolator(PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, Path projectDir, ModelBuilderRequest request) protected org.codehaus.plexus.interpolation.RecursionInterceptorprotected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) getProjectPrefixes(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) 
 
- 
- 
Method Details- 
interpolateModelpublic Model interpolateModel(Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) Description copied from interface:ModelInterpolatorInterpolates expressions in the specified model. Note that implementations are free to either interpolate the provided model directly or to create a clone of the model and interpolate the clone. Callers should always use the returned model and must not rely on the input model being updated.- Specified by:
- interpolateModelin interface- ModelInterpolator
- Parameters:
- model- The model to interpolate, must not be- null.
- projectDir- The project directory, may be- nullif 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 be- null.
- problems- The container used to collect problems that were encountered, must not be- null.
- Returns:
- The interpolated model, never null.
 
- 
getProjectPrefixes
- 
createValueSourcesprotected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) 
- 
createPostProcessorsprotected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, Path projectDir, ModelBuilderRequest request) 
- 
createRecursionInterceptorprotected org.codehaus.plexus.interpolation.RecursionInterceptor createRecursionInterceptor(ModelBuilderRequest request) 
 
-