@Named @Singleton 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)
ModelPathTranslator
alignToBaseDirectory
in interface ModelPathTranslator
model
- 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–2023 The Apache Software Foundation. All rights reserved.