@Component(role=ModelInterpolator.class) public class StringSearchModelInterpolator extends AbstractStringBasedModelInterpolator
CHANGELIST_PROPERTY, REVISION_PROPERTY, SHA1_PROPERTY
Constructor and Description |
---|
StringSearchModelInterpolator() |
Modifier and Type | Method and Description |
---|---|
protected Interpolator |
createInterpolator() |
Model |
interpolateModel(Model model,
File projectDir,
ModelBuildingRequest config,
ModelProblemCollector problems)
Interpolates expressions in the specified model.
|
protected void |
interpolateObject(Object obj,
Model model,
File projectDir,
ModelBuildingRequest config,
ModelProblemCollector problems) |
createPostProcessors, createValueSources, getInterpolator, getRecursionInterceptor, interpolateInternal, setPathTranslator, setRecursionInterceptor, setUrlNormalizer
public Model interpolateModel(Model model, 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
.protected void interpolateObject(Object obj, Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)
protected Interpolator createInterpolator()
createInterpolator
in class AbstractStringBasedModelInterpolator
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.