@Named @Singleton public class StringVisitorModelInterpolator extends AbstractStringBasedModelInterpolator
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
StringVisitorModelInterpolator.InnerInterpolator |
private static class |
StringVisitorModelInterpolator.ModelVisitor |
CHANGELIST_PROPERTY, REVISION_PROPERTY, SHA1_PROPERTY
Constructor and Description |
---|
StringVisitorModelInterpolator() |
Modifier and Type | Method and Description |
---|---|
private StringVisitorModelInterpolator.InnerInterpolator |
createInterpolator(java.util.List<? extends org.codehaus.plexus.interpolation.ValueSource> valueSources,
java.util.List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors,
ModelProblemCollector problems) |
Model |
interpolateModel(Model model,
java.io.File projectDir,
ModelBuildingRequest config,
ModelProblemCollector problems)
Interpolates expressions in the specified model.
|
createPostProcessors, createRecursionInterceptor, createValueSources, setPathTranslator, setUrlNormalizer
public Model interpolateModel(Model model, java.io.File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)
ModelInterpolator
model
- The model to interpolate, must not be null
.projectDir
- The project directory, may be null
if 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 be null
.problems
- The container used to collect problems that were encountered, must not be null
.null
.private StringVisitorModelInterpolator.InnerInterpolator createInterpolator(java.util.List<? extends org.codehaus.plexus.interpolation.ValueSource> valueSources, java.util.List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors, ModelProblemCollector problems)