static class LegacyLocalRepositoryManager.ArtifactRepositoryAdapter extends java.lang.Object implements ArtifactRepository
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.aether.repository.RemoteRepository |
repository |
| Constructor and Description |
|---|
ArtifactRepositoryAdapter(org.eclipse.aether.repository.RemoteRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
Artifact |
find(Artifact artifact) |
java.util.List<java.lang.String> |
findVersions(Artifact artifact)
Finds the versions of the specified artifact that are available in this repository.
|
Authentication |
getAuthentication() |
java.lang.String |
getBasedir() |
java.lang.String |
getId() |
java.lang.String |
getKey() |
ArtifactRepositoryLayout |
getLayout() |
java.util.List<ArtifactRepository> |
getMirroredRepositories() |
java.lang.String |
getProtocol() |
Proxy |
getProxy() |
ArtifactRepositoryPolicy |
getReleases() |
ArtifactRepositoryPolicy |
getSnapshots() |
java.lang.String |
getUrl() |
boolean |
isBlacklisted() |
boolean |
isProjectAware()
Indicates whether this repository is backed by actual projects.
|
boolean |
isUniqueVersion() |
java.lang.String |
pathOf(Artifact artifact) |
java.lang.String |
pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
ArtifactRepository repository) |
java.lang.String |
pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) |
void |
setAuthentication(Authentication authentication) |
void |
setBlacklisted(boolean blackListed) |
void |
setId(java.lang.String id) |
void |
setLayout(ArtifactRepositoryLayout layout) |
void |
setMirroredRepositories(java.util.List<ArtifactRepository> mirroredRepositories) |
void |
setProxy(Proxy proxy) |
void |
setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy) |
void |
setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy) |
void |
setUrl(java.lang.String url) |
ArtifactRepositoryAdapter(org.eclipse.aether.repository.RemoteRepository repository)
public java.lang.String pathOf(Artifact artifact)
pathOf in interface ArtifactRepositorypublic java.lang.String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
pathOfRemoteRepositoryMetadata in interface ArtifactRepositorypublic java.lang.String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
pathOfLocalRepositoryMetadata in interface ArtifactRepositorypublic java.lang.String getUrl()
getUrl in interface ArtifactRepositorypublic void setUrl(java.lang.String url)
setUrl in interface ArtifactRepositorypublic java.lang.String getBasedir()
getBasedir in interface ArtifactRepositorypublic java.lang.String getProtocol()
getProtocol in interface ArtifactRepositorypublic java.lang.String getId()
getId in interface ArtifactRepositorypublic void setId(java.lang.String id)
setId in interface ArtifactRepositorypublic ArtifactRepositoryPolicy getSnapshots()
getSnapshots in interface ArtifactRepositorypublic void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
setSnapshotUpdatePolicy in interface ArtifactRepositorypublic ArtifactRepositoryPolicy getReleases()
getReleases in interface ArtifactRepositorypublic void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
setReleaseUpdatePolicy in interface ArtifactRepositorypublic ArtifactRepositoryLayout getLayout()
getLayout in interface ArtifactRepositorypublic void setLayout(ArtifactRepositoryLayout layout)
setLayout in interface ArtifactRepositorypublic java.lang.String getKey()
getKey in interface ArtifactRepositorypublic boolean isUniqueVersion()
isUniqueVersion in interface ArtifactRepositorypublic boolean isBlacklisted()
isBlacklisted in interface ArtifactRepositorypublic void setBlacklisted(boolean blackListed)
setBlacklisted in interface ArtifactRepositorypublic Artifact find(Artifact artifact)
find in interface ArtifactRepositorypublic java.util.List<java.lang.String> findVersions(Artifact artifact)
ArtifactRepositoryfindVersions in interface ArtifactRepositoryartifact - The artifact whose available versions should be determined, must not be null.null.public boolean isProjectAware()
ArtifactRepositoryisProjectAware in interface ArtifactRepositorytrue if the repository is backed by actual projects, false otherwise.public void setAuthentication(Authentication authentication)
setAuthentication in interface ArtifactRepositorypublic Authentication getAuthentication()
getAuthentication in interface ArtifactRepositorypublic void setProxy(Proxy proxy)
setProxy in interface ArtifactRepositorypublic Proxy getProxy()
getProxy in interface ArtifactRepositorypublic java.util.List<ArtifactRepository> getMirroredRepositories()
getMirroredRepositories in interface ArtifactRepositorypublic void setMirroredRepositories(java.util.List<ArtifactRepository> mirroredRepositories)
setMirroredRepositories in interface ArtifactRepositorymirroredRepositories - the repositories that the actual one mirrors