@Deprecated public abstract class AbstractStringBasedModelInterpolator extends AbstractLogEnabled implements ModelInterpolator, 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 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.
|
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.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected AbstractStringBasedModelInterpolator(PathTranslator pathTranslator)
protected AbstractStringBasedModelInterpolator()
IOException - This exception is not thrown any more, and needs to be removed.public Model interpolate(Model model, Map<String,?> context) throws ModelInterpolationException
interpolate in interface ModelInterpolatorModelInterpolationExceptionpublic Model interpolate(Model model, Map<String,?> context, boolean strict) throws ModelInterpolationException
ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead.interpolate in interface ModelInterpolatormodel - The inbound Model instance, to serialize and reference for expression resolutioncontext - The other context map to be used during resolutionModelInterpolationExceptionpublic Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) throws ModelInterpolationException
interpolate in interface ModelInterpolatorModelInterpolationExceptionpublic String interpolate(String src, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debug) throws ModelInterpolationException
The algorithm used for each expression is:
interpolate in interface ModelInterpolatoroverrideContext - outputDebugMessages - ModelInterpolationExceptionprotected 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
ModelInterpolationExceptionprotected RecursionInterceptor getRecursionInterceptor()
protected void setRecursionInterceptor(RecursionInterceptor recursionInterceptor)
protected abstract Interpolator createInterpolator()
public void initialize() throws InitializationException
initialize in interface InitializableInitializationExceptionprotected final Interpolator getInterpolator()
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.