public interface RemoteRepositoryContent extends RepositoryContent
Modifier and Type | Method and Description |
---|---|
String |
getId()
Convenience method to get the repository id.
|
RemoteRepository |
getRepository()
Get the repository configuration associated with this
repository content.
|
RepositoryURL |
getURL()
Convenience method to get the repository url.
|
void |
setRepository(RemoteRepository repo)
Set the repository configuration to associate with this
repository content.
|
RepositoryURL |
toURL(ArtifactReference reference)
Given an ArtifactReference, return the url to the artifact.
|
toArtifactReference, toPath
String getId()
Convenience method to get the repository id.
Equivalent to calling .getRepository().getId()
RemoteRepository getRepository()
RepositoryURL getURL()
Convenience method to get the repository url.
Equivalent to calling new RepositoryURL( this.getRepository().getUrl() )
void setRepository(RemoteRepository repo)
repo
- the repository to associate with this repository content.RepositoryURL toURL(ArtifactReference reference)
reference
- the artifact reference to use.Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.