| Package | Description |
|---|---|
| net.lecousin.framework.application |
Main classes to initialize this library: LCCore and Application.
|
| net.lecousin.framework.application.libraries.artifacts |
Libraries management using group id, artifact id and version.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
VersionSpecification.RangeWithRecommended.getRecommended() |
Version |
VersionSpecification.SingleVersion.getVersion() |
Version |
Artifact.getVersion() |
Version |
Application.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
int |
VersionSpecification.SingleVersion.compare(Version o1,
Version o2) |
int |
VersionSpecification.Range.compare(Version o1,
Version o2) |
int |
VersionSpecification.RangeWithRecommended.compare(Version o1,
Version o2) |
int |
Version.compareTo(Version o) |
boolean |
VersionRange.includes(Version version)
Return true if this VersionRange includes the given version.
|
boolean |
VersionSpecification.isMatching(Version version)
Return true if the given version is compatible with the specified version.
|
boolean |
VersionSpecification.SingleVersion.isMatching(Version version) |
boolean |
VersionSpecification.Range.isMatching(Version version) |
boolean |
VersionSpecification.RangeWithRecommended.isMatching(Version version) |
| Constructor and Description |
|---|
Artifact(String groupId,
String artifactId,
Version version)
Create an artifact.
|
RangeWithRecommended(VersionRange range,
Version recommended)
Constructor.
|
SingleVersion(Version version)
Constructor.
|
VersionRange(Version unique)
Creates a VersionRange that includes a unique version number.
|
VersionRange(Version min,
Version max,
boolean maxIncluded)
Creates a version range.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
LoadedLibrary.getVersion() |
Version |
LibraryDescriptor.getVersion()
Artifact version.
|
Version |
LibraryDescriptorLoader.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.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
LibraryDescriptorLoader.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.
|
Copyright © 2019. All rights reserved.