|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.plexus.logging.AbstractLogEnabled org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator
@Deprecated public abstract class AbstractStringBasedModelInterpolator
Use a regular expression search to find and resolve expressions within the POM.
Field Summary |
---|
Fields inherited from interface org.apache.maven.project.interpolation.ModelInterpolator |
---|
BUILD_TIMESTAMP_FORMAT_PROPERTY, DEFAULT_BUILD_TIMESTAMP_FORMAT, ROLE |
Constructor Summary | |
---|---|
protected |
AbstractStringBasedModelInterpolator()
Deprecated. |
protected |
AbstractStringBasedModelInterpolator(PathTranslator pathTranslator)
Deprecated. |
Method Summary | |
---|---|
protected abstract Interpolator |
createInterpolator()
Deprecated. |
protected List<InterpolationPostProcessor> |
createPostProcessors(Model model,
File projectDir,
ProjectBuilderConfiguration config)
Deprecated. |
protected List<ValueSource> |
createValueSources(Model model,
File projectDir,
ProjectBuilderConfiguration config)
Deprecated. |
protected Interpolator |
getInterpolator()
Deprecated. |
protected 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. Use ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead. |
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<ValueSource> valueSources,
List<InterpolationPostProcessor> postProcessors,
boolean debug)
Deprecated. |
protected void |
setRecursionInterceptor(RecursionInterceptor recursionInterceptor)
Deprecated. |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractStringBasedModelInterpolator(PathTranslator pathTranslator)
protected AbstractStringBasedModelInterpolator()
IOException
- This exception is not thrown any more, and needs to be removed.Method Detail |
---|
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.
interpolate
in interface ModelInterpolator
model
- The inbound Model instance, to serialize and reference for expression resolutioncontext
- The other context map to be used during resolution
ModelInterpolationException
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
overrideContext
- outputDebugMessages
-
ModelInterpolationException
protected List<ValueSource> createValueSources(Model model, File projectDir, ProjectBuilderConfiguration config)
protected List<InterpolationPostProcessor> createPostProcessors(Model model, File projectDir, ProjectBuilderConfiguration config)
protected String interpolateInternal(String src, List<ValueSource> valueSources, List<InterpolationPostProcessor> postProcessors, boolean debug) throws ModelInterpolationException
ModelInterpolationException
protected RecursionInterceptor getRecursionInterceptor()
protected void setRecursionInterceptor(RecursionInterceptor recursionInterceptor)
protected abstract 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 Interpolator getInterpolator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |