@Deprecated public abstract class AbstractStringBasedModelInterpolator extends org.codehaus.plexus.logging.AbstractLogEnabled implements ModelInterpolator, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
BUILD_TIMESTAMP_FORMAT_PROPERTY, DEFAULT_BUILD_TIMESTAMP_FORMAT, ROLE
Modifier | Constructor and Description |
---|---|
protected |
AbstractStringBasedModelInterpolator()
Deprecated.
|
protected |
AbstractStringBasedModelInterpolator(PathTranslator pathTranslator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract org.codehaus.plexus.interpolation.Interpolator |
createInterpolator()
Deprecated.
|
protected List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> |
createPostProcessors(Model model,
File projectDir,
ProjectBuilderConfiguration config)
Deprecated.
|
protected List<org.codehaus.plexus.interpolation.ValueSource> |
createValueSources(Model model,
File projectDir,
ProjectBuilderConfiguration config)
Deprecated.
|
protected org.codehaus.plexus.interpolation.Interpolator |
getInterpolator()
Deprecated.
|
protected org.codehaus.plexus.interpolation.RecursionInterceptor |
getRecursionInterceptor()
Deprecated.
|
void |
initialize()
Deprecated.
|
Model |
interpolate(Model model,
File projectDir,
ProjectBuilderConfiguration config,
boolean debugEnabled)
Deprecated.
|
Model |
interpolate(Model model,
Map<String,?> context)
Deprecated.
|
Model |
interpolate(Model model,
Map<String,?> context,
boolean strict)
Deprecated.
|
String |
interpolate(String src,
Model model,
File projectDir,
ProjectBuilderConfiguration config,
boolean debug)
Deprecated.
Interpolates all expressions in the src parameter.
|
protected String |
interpolateInternal(String src,
List<org.codehaus.plexus.interpolation.ValueSource> valueSources,
List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors,
boolean debug)
Deprecated.
|
protected void |
setRecursionInterceptor(org.codehaus.plexus.interpolation.RecursionInterceptor recursionInterceptor)
Deprecated.
|
protected AbstractStringBasedModelInterpolator(PathTranslator pathTranslator)
protected AbstractStringBasedModelInterpolator()
public Model interpolate(Model model, Map<String,?> context) throws ModelInterpolationException
interpolate
in interface ModelInterpolator
ModelInterpolationException
public Model interpolate(Model model, Map<String,?> context, boolean strict) throws ModelInterpolationException
ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean)
instead.NOTE: This will result in a different instance of Model being returned!!!
interpolate
in interface ModelInterpolator
model
- The inbound Model instance, to serialize and reference for expression resolutioncontext
- The other context map to be used during resolutionModelInterpolationException
public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) throws ModelInterpolationException
interpolate
in interface ModelInterpolator
ModelInterpolationException
public String interpolate(String src, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debug) throws ModelInterpolationException
The algorithm used for each expression is:
interpolate
in interface ModelInterpolator
ModelInterpolationException
protected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, File projectDir, ProjectBuilderConfiguration config)
protected List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, File projectDir, ProjectBuilderConfiguration config)
protected String interpolateInternal(String src, List<org.codehaus.plexus.interpolation.ValueSource> valueSources, List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors, boolean debug) throws ModelInterpolationException
ModelInterpolationException
protected org.codehaus.plexus.interpolation.RecursionInterceptor getRecursionInterceptor()
protected void setRecursionInterceptor(org.codehaus.plexus.interpolation.RecursionInterceptor recursionInterceptor)
protected abstract org.codehaus.plexus.interpolation.Interpolator createInterpolator()
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
protected final org.codehaus.plexus.interpolation.Interpolator getInterpolator()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.