Class StringSearchModelInterpolator
- java.lang.Object
-
- org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
-
- org.apache.maven.model.interpolation.StringSearchModelInterpolator
-
- All Implemented Interfaces:
ModelInterpolator
@Named @Singleton public class StringSearchModelInterpolator extends AbstractStringBasedModelInterpolator
StringSearchModelInterpolator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static interfaceStringSearchModelInterpolator.InnerInterpolatorprivate static classStringSearchModelInterpolator.InterpolateObjectAction
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.Class<?>,StringSearchModelInterpolator.InterpolateObjectAction.CacheItem>CACHED_ENTRIES-
Fields inherited from class org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
CHANGELIST_PROPERTY, REVISION_PROPERTY, SHA1_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description StringSearchModelInterpolator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private StringSearchModelInterpolator.InnerInterpolatorcreateInterpolator(java.util.List<? extends org.codehaus.plexus.interpolation.ValueSource> valueSources, java.util.List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors, ModelProblemCollector problems)ModelinterpolateModel(Model model, java.io.File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)Interpolates expressions in the specified model.(package private) voidinterpolateObject(java.lang.Object obj, Model model, java.io.File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)-
Methods inherited from class org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
createPostProcessors, createRecursionInterceptor, createValueSources, setPathTranslator, setUrlNormalizer
-
-
-
-
Field Detail
-
CACHED_ENTRIES
private static final java.util.Map<java.lang.Class<?>,StringSearchModelInterpolator.InterpolateObjectAction.CacheItem> CACHED_ENTRIES
-
-
Method Detail
-
interpolateModel
public Model interpolateModel(Model model, java.io.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.
-
interpolateObject
void interpolateObject(java.lang.Object obj, Model model, java.io.File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)
-
createInterpolator
private StringSearchModelInterpolator.InnerInterpolator createInterpolator(java.util.List<? extends org.codehaus.plexus.interpolation.ValueSource> valueSources, java.util.List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors, ModelProblemCollector problems)
-
-