Class AbstractStringBasedModelInterpolator
java.lang.Object
org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
- All Implemented Interfaces:
- ModelInterpolator
- Direct Known Subclasses:
- StringVisitorModelInterpolator
@Deprecated(since="4.0.0")
public abstract class AbstractStringBasedModelInterpolator
extends Object
implements ModelInterpolator
Deprecated.
Use a regular expression search to find and resolve expressions within the POM.
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractStringBasedModelInterpolator(PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionprotected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, Path projectDir, ModelBuildingRequest config) Deprecated.protected org.codehaus.plexus.interpolation.RecursionInterceptorDeprecated.protected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Deprecated.Deprecated.interpolateModel(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Interpolates expressions in the specified model.interpolateModel(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Interpolates expressions in the specified model.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.model.interpolation.ModelInterpolatorinterpolateModel, interpolateModel
- 
Constructor Details- 
AbstractStringBasedModelInterpolator@Inject public AbstractStringBasedModelInterpolator(PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator) Deprecated.
 
- 
- 
Method Details- 
interpolateModelpublic Model interpolateModel(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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.
 
- 
interpolateModelpublic Model interpolateModel(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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.
 
- 
getProjectPrefixesDeprecated.
- 
createValueSourcesprotected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Deprecated.
- 
createPostProcessorsprotected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, Path projectDir, ModelBuildingRequest config) Deprecated.
- 
createRecursionInterceptorprotected org.codehaus.plexus.interpolation.RecursionInterceptor createRecursionInterceptor(ModelBuildingRequest config) Deprecated.
 
- 
ModelBuilderinstead