Class DefaultModuleDependencyLoader

java.lang.Object
eu.cloudnetservice.driver.module.DefaultModuleDependencyLoader
All Implemented Interfaces:
ModuleDependencyLoader

public class DefaultModuleDependencyLoader extends Object implements ModuleDependencyLoader
Represents the default implementation of the module dependency loader.
Since:
4.0
  • Field Details

    • FILE_NAME_FORMAT

      protected static final String FILE_NAME_FORMAT
      A format for the file name with which the module will be stored: name-version.jar
      See Also:
    • REMOTE_DEPENDENCY_URL_FORMAT

      protected static final String REMOTE_DEPENDENCY_URL_FORMAT
      Represents a maven dependency download url in the format: repo-urlgroup/name/version/name-version.jar.
      See Also:
    • baseDirectory

      protected final Path baseDirectory
  • Constructor Details

    • DefaultModuleDependencyLoader

      public DefaultModuleDependencyLoader(@NonNull @NonNull Path baseDirectory)
      Constructs a new instance of this class.
      Parameters:
      baseDirectory - the base directory in which the dependencies should be stored.
      Throws:
      NullPointerException - if the given base directory is null.
  • Method Details