| Package | Description |
|---|---|
| de.westemeyer.version.model |
The data model package for the artifact version definition.
|
| de.westemeyer.version.service |
Service related classes are found in this package.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DefaultArtifactComparator.compare(Artifact o1,
Artifact o2) |
| Modifier and Type | Method and Description |
|---|---|
static Artifact |
ArtifactVersionCollector.findArtifact(String groupId,
String artifactId)
Find a given artifact by its coordinates (just without the version).
|
Artifact |
GeneratedVersionService.getArtifact() |
Artifact |
ArtifactVersionService.getArtifact()
Get coordinates and version for an artifact (e.g. a jar file).
|
static Artifact |
ArtifactVersionCollector.iterateArtifacts(ArtifactConsumer consumer)
Iterate list of artifacts and check them using a given lambda.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Artifact> |
ArtifactVersionCollector.artifactsByGroupId(String groupId,
boolean exact)
Find a set of artifacts by groupId or groupId prefix.
|
Set<Artifact> |
ArtifactVersionCollector.collect()
Collect all artifact coordinates and their versions using service loader.
|
static Set<Artifact> |
ArtifactVersionCollector.collectArtifacts()
Collect all artifact coordinates and their versions using service loader.
|
static Set<Artifact> |
ArtifactVersionCollector.findArtifactsByGroupId(String groupId,
boolean exact)
Find a set of artifacts by groupId or groupId prefix.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArtifactConsumer.handleArtifact(Artifact artifact)
Inspect the artifact content and use it (e.g. to put it in a
Set) or return true when an artifact
has been identified to get it returned immediately. |
| Constructor and Description |
|---|
ArtifactVersionCollector(Comparator<Artifact> sortingComparator)
Create a new collector using a custom sorting comparator.
|
Copyright © 2021. All rights reserved.