public interface MavenRepository
extends net.lecousin.framework.application.libraries.artifacts.LibrariesRepository
| Modifier and Type | Method and Description |
|---|---|
net.lecousin.framework.concurrent.async.AsyncSupplier<List<String>,net.lecousin.framework.exception.NoException> |
getAvailableVersions(String groupId,
String artifactId,
net.lecousin.framework.concurrent.threads.Task.Priority priority)
Return the list of available versions for the given artifact, or null if the artifact does not exist.
|
boolean |
isReleasesEnabled()
Return if releases libraries are enabled on this repository.
|
boolean |
isSame(String url,
boolean releasesEnabled,
boolean snapshotsEnabled)
Return true if this repository is the same as the given parameters.
|
boolean |
isSnapshotsEnabled()
Return if snapshots libraries are enabled on this repository.
|
net.lecousin.framework.concurrent.async.AsyncSupplier<MavenPOM,net.lecousin.framework.application.libraries.LibraryManagementException> |
load(String groupId,
String artifactId,
String version,
MavenPOMLoader pomLoader,
net.lecousin.framework.concurrent.threads.Task.Priority priority)
Load an artifact's POM file.
|
net.lecousin.framework.concurrent.async.AsyncSupplier<List<String>,net.lecousin.framework.exception.NoException> getAvailableVersions(String groupId, String artifactId, net.lecousin.framework.concurrent.threads.Task.Priority priority)
net.lecousin.framework.concurrent.async.AsyncSupplier<MavenPOM,net.lecousin.framework.application.libraries.LibraryManagementException> load(String groupId, String artifactId, String version, MavenPOMLoader pomLoader, net.lecousin.framework.concurrent.threads.Task.Priority priority)
boolean isSame(String url, boolean releasesEnabled, boolean snapshotsEnabled)
boolean isReleasesEnabled()
boolean isSnapshotsEnabled()
Copyright © 2020. All rights reserved.