public interface LibraryDescriptor
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LibraryDescriptor.Dependency
Describes a dependency of a library to another.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId()
Artifact id.
|
AsyncSupplier<File,NoException> |
getClasses()
Return a directory or a JAR file containing the classes to be loaded.
|
List<LibraryDescriptor.Dependency> |
getDependencies()
Return the list of dependencies of this library.
|
List<LibrariesRepository> |
getDependenciesAdditionalRepositories()
Return a list of additional repositories to look for dependencies.
|
URI |
getDirectory()
Return the directory from which the library descriptor as been loaded.
|
String |
getGroupId()
Artifact group id.
|
LibraryDescriptorLoader |
getLoader()
Loader used.
|
Version |
getVersion()
Artifact version.
|
default String |
getVersionString()
Artifact version as string.
|
boolean |
hasClasses()
Return true if the artifact contains classes to be loaded.
|
LibraryDescriptorLoader getLoader()
String getGroupId()
String getArtifactId()
Version getVersion()
default String getVersionString()
URI getDirectory()
boolean hasClasses()
AsyncSupplier<File,NoException> getClasses()
List<LibraryDescriptor.Dependency> getDependencies()
List<LibrariesRepository> getDependenciesAdditionalRepositories()
Copyright © 2019. All rights reserved.