@Component(role=ModelPathTranslator.class) public class DefaultModelPathTranslator extends Object implements ModelPathTranslator
| Constructor and Description |
|---|
DefaultModelPathTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
alignToBaseDirectory(Model model,
File basedir,
ModelBuildingRequest request)
Resolves the well-known paths of the specified model against the given base directory.
|
DefaultModelPathTranslator |
setPathTranslator(PathTranslator pathTranslator) |
public DefaultModelPathTranslator setPathTranslator(PathTranslator pathTranslator)
public void alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request)
ModelPathTranslatoralignToBaseDirectory in interface ModelPathTranslatormodel - The model whose paths should be resolved, may be null.basedir - The base directory to resolve relative paths against, may be null.request - The model building request that holds further settings, must not be null.Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.