Interface LibraryImporter

All Known Implementing Classes:
LibbyImporter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LibraryImporter
Strategy interface for loading external libraries for a module.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    importLibrary(ModuleContext ctx, String... coordinates)
    Imports one or more libraries described by coordinates for the given module.
  • Method Details

    • importLibrary

      void importLibrary(ModuleContext ctx, String... coordinates)
      Imports one or more libraries described by coordinates for the given module.
      Parameters:
      ctx - Calling module's context.
      coordinates - One or more Maven-style coordinates, e.g. group:artifact:version[?key=value&...].