Class StringVisitorModelInterpolator
java.lang.Object
org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
org.apache.maven.model.interpolation.StringVisitorModelInterpolator
- All Implemented Interfaces:
 ModelInterpolator
@Named
@Singleton
public class StringVisitorModelInterpolator
extends AbstractStringBasedModelInterpolator
StringVisitorModelInterpolator
- Since:
 - 3.6.2
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioninterpolateModel(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Interpolates expressions in the specified model.Methods inherited from class org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
createPostProcessors, createRecursionInterceptor, createValueSources, setPathTranslator, setUrlNormalizer, setVersionPropertiesProcessor 
- 
Constructor Details
- 
StringVisitorModelInterpolator
public StringVisitorModelInterpolator() 
 - 
 - 
Method Details
- 
interpolateModel
public Model interpolateModel(Model model, File projectDir, ModelBuildingRequest config, 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.- Parameters:
 model- The model to interpolate, must not benull.projectDir- The project directory, may benullif the model does not belong to a local project but to some artifact's metadata.config- 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. 
 
 -