org.apache.maven.model.interpolation
类 StringSearchModelInterpolator
java.lang.Object
org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
org.apache.maven.model.interpolation.StringSearchModelInterpolator
- 所有实现的接口:
- 模型插值器
@Component(role=ModelInterpolator.class)
public class StringSearchModelInterpolator
- extends AbstractStringBasedModelInterpolator
从类 java.lang 继承的方法。目的 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSearchModelInterpolator
public StringSearchModelInterpolator()
插值模型
public Model interpolateModel(Model model,
File projectDir,
ModelBuildingRequest config,
ModelProblemCollector problems)
- 从接口复制的描述:
ModelInterpolator
- 在指定模型中插入表达式。请注意,实现可以自由地直接插入提供的模型或创建模型的克隆并插入克隆。调用者应始终使用返回的模型,并且不得依赖正在更新的输入模型。
- 参数:
model
- 要插值的模型不能是null
.projectDir
null
-如果模型不属于本地项目但属于某些工件的元数据,则项目目录可能是。config
- 保存进一步设置的模型构建请求不能是null
.problems
- 用于收集遇到的问题的容器不能是null
.
- 回报:
- 插值模型,从不
null
。
插值对象
protected void interpolateObject(Object obj,
Model model,
File projectDir,
ModelBuildingRequest config,
ModelProblemCollector problems)
创建插值器
protected Interpolator createInterpolator()
- 指定者:
createInterpolator
在班上AbstractStringBasedModelInterpolator
版权所有 © 2001-2012 Apache 软件基金会。版权所有。