public interface LibraryDescriptorLoader
| Modifier and Type | Interface and Description |
|---|---|
static class |
LibraryDescriptorLoader.DependencyNode
Tree node to build a dependency tree.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
detect(File dir)
Return true if the given directory contains a library descriptor.
|
AsyncSupplier<? extends LibraryDescriptor,LibraryManagementException> |
loadLibrary(String groupId,
String artifactId,
VersionSpecification version,
byte priority,
List<LibrariesRepository> additionalRepositories)
Search and load the library descriptor for the given group id, artifact id and version specification.
|
AsyncSupplier<? extends LibraryDescriptor,LibraryManagementException> |
loadProject(File dir,
byte priority)
Load a library descriptor from the given directory.
|
Version |
resolveVersionConflict(String groupId,
String artifactId,
Map<Version,List<Tree.Node<LibraryDescriptorLoader.DependencyNode>>> artifactVersions)
When several versions of the same library are specified, this method resolve the conflict and return the version to be loaded.
|
boolean detect(File dir)
AsyncSupplier<? extends LibraryDescriptor,LibraryManagementException> loadProject(File dir, byte priority)
AsyncSupplier<? extends LibraryDescriptor,LibraryManagementException> loadLibrary(String groupId, String artifactId, VersionSpecification version, byte priority, List<LibrariesRepository> additionalRepositories)
Version resolveVersionConflict(String groupId, String artifactId, Map<Version,List<Tree.Node<LibraryDescriptorLoader.DependencyNode>>> artifactVersions)
Copyright © 2019. All rights reserved.