|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.repository.content.AbstractDefaultRepositoryContent
org.apache.maven.archiva.repository.content.RemoteDefaultRepositoryContent
public class RemoteDefaultRepositoryContent
RemoteDefaultRepositoryContent
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.archiva.repository.content.AbstractDefaultRepositoryContent |
|---|
ARTIFACT_SEPARATOR, GROUP_SEPARATOR, log, MAVEN_METADATA, PATH_SEPARATOR |
| Constructor Summary | |
|---|---|
RemoteDefaultRepositoryContent()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Convenience method to get the repository id. |
org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration |
getRepository()
Get the repository configuration associated with this repository content. |
RepositoryURL |
getURL()
Convenience method to get the repository url. |
void |
setRepository(org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration repository)
Set the repository configuration to associate with this repository content. |
org.apache.maven.archiva.model.ArtifactReference |
toArtifactReference(java.lang.String path)
Convert a path to an artifact reference. |
RepositoryURL |
toURL(org.apache.maven.archiva.model.ArtifactReference reference)
Given an ArtifactReference, return the url to the artifact. |
| Methods inherited from class org.apache.maven.archiva.repository.content.AbstractDefaultRepositoryContent |
|---|
toMetadataPath, toMetadataPath, toPath, toPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.archiva.repository.RemoteRepositoryContent |
|---|
toPath |
| Constructor Detail |
|---|
public RemoteDefaultRepositoryContent()
| Method Detail |
|---|
public java.lang.String getId()
RemoteRepositoryContentConvenience method to get the repository id.
Equivalent to calling .getRepository().getId()
getId in interface RemoteRepositoryContentpublic org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration getRepository()
RemoteRepositoryContent
getRepository in interface RemoteRepositoryContentpublic RepositoryURL getURL()
RemoteRepositoryContentConvenience method to get the repository url.
Equivalent to calling new RepositoryURL( this.getRepository().getUrl() )
getURL in interface RemoteRepositoryContentpublic void setRepository(org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration repository)
RemoteRepositoryContent
setRepository in interface RemoteRepositoryContentrepository - the repository to associate with this repository content.
public org.apache.maven.archiva.model.ArtifactReference toArtifactReference(java.lang.String path)
throws LayoutException
toArtifactReference in interface RemoteRepositoryContenttoArtifactReference in class AbstractDefaultRepositoryContentpath - the path to convert. (relative or full url path)
ArtifactReference representing the path. (or null if path cannot be converted to
a ArtifactReference)
LayoutException - if the path cannot be converted to an artifact reference.public RepositoryURL toURL(org.apache.maven.archiva.model.ArtifactReference reference)
RemoteRepositoryContent
toURL in interface RemoteRepositoryContentreference - the artifact reference to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||