Interface ModelPathTranslator

All Known Implementing Classes:
DefaultModelPathTranslator

public interface ModelPathTranslator
Resolves relative paths of a model against a specific base directory.
  • Method Details

    • alignToBaseDirectory

      @Deprecated void alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request)
      Resolves the well-known paths of the specified model against the given base directory. Paths within plugin configuration are not processed.
      Parameters:
      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.
    • alignToBaseDirectory

      void alignToBaseDirectory(Model model, Path basedir, ModelBuildingRequest request)
      Resolves the well-known paths of the specified model against the given base directory. Paths within plugin configuration are not processed.
      Parameters:
      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.
      Since:
      4.0.0