org.apache.maven.project.interpolation
Interface ModelInterpolator

All Known Implementing Classes:
AbstractStringBasedModelInterpolator, ReflectionConfigurationInterpolator, RegexBasedModelInterpolator, StringSearchModelInterpolator

public interface ModelInterpolator

Author:
jdcasey

Created on Feb 2, 2005


Field Summary
static String BUILD_TIMESTAMP_FORMAT_PROPERTY
           
static String DEFAULT_BUILD_TIMESTAMP_FORMAT
           
static String ROLE
           
 
Method Summary
 Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
           
 Model interpolate(Model project, Map<String,?> context)
          Deprecated. Use interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead.
 Model interpolate(Model model, Map<String,?> context, boolean strict)
          Deprecated. Use interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead.
 String interpolate(String src, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
           
 

Field Detail

DEFAULT_BUILD_TIMESTAMP_FORMAT

static final String DEFAULT_BUILD_TIMESTAMP_FORMAT
See Also:
Constant Field Values

BUILD_TIMESTAMP_FORMAT_PROPERTY

static final String BUILD_TIMESTAMP_FORMAT_PROPERTY
See Also:
Constant Field Values

ROLE

static final String ROLE
Method Detail

interpolate

Model interpolate(Model project,
                  Map<String,?> context)
                  throws ModelInterpolationException
Deprecated. Use interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead.

Throws:
ModelInterpolationException

interpolate

Model interpolate(Model model,
                  Map<String,?> context,
                  boolean strict)
                  throws ModelInterpolationException
Deprecated. Use interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead.

Throws:
ModelInterpolationException

interpolate

Model interpolate(Model model,
                  File projectDir,
                  ProjectBuilderConfiguration config,
                  boolean debugEnabled)
                  throws ModelInterpolationException
Throws:
ModelInterpolationException

interpolate

String interpolate(String src,
                   Model model,
                   File projectDir,
                   ProjectBuilderConfiguration config,
                   boolean debugEnabled)
                   throws ModelInterpolationException
Throws:
ModelInterpolationException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.