public class ArtifactRepositoryStub extends Object implements ArtifactRepository
Constructor and Description |
---|
ArtifactRepositoryStub() |
Modifier and Type | Method and Description |
---|---|
String |
getBasedir() |
String |
getId() |
String |
getKey() |
ArtifactRepositoryLayout |
getLayout() |
String |
getProtocol() |
ArtifactRepositoryPolicy |
getReleases() |
ArtifactRepositoryPolicy |
getSnapshots() |
String |
getUrl() |
boolean |
isBlacklisted() |
boolean |
isUniqueVersion() |
String |
pathOf(Artifact artifact) |
String |
pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
ArtifactRepository repository) |
String |
pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) |
void |
setAppendToUrl(String dir) |
void |
setBlacklisted(boolean blackListed) |
public String pathOf(Artifact artifact)
pathOf
in interface ArtifactRepository
public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
pathOfRemoteRepositoryMetadata
in interface ArtifactRepository
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
pathOfLocalRepositoryMetadata
in interface ArtifactRepository
public String getUrl()
getUrl
in interface ArtifactRepository
public void setAppendToUrl(String dir)
public String getBasedir()
getBasedir
in interface ArtifactRepository
public String getProtocol()
getProtocol
in interface ArtifactRepository
public String getId()
getId
in interface ArtifactRepository
public ArtifactRepositoryPolicy getSnapshots()
getSnapshots
in interface ArtifactRepository
public ArtifactRepositoryPolicy getReleases()
getReleases
in interface ArtifactRepository
public ArtifactRepositoryLayout getLayout()
getLayout
in interface ArtifactRepository
public String getKey()
getKey
in interface ArtifactRepository
public boolean isUniqueVersion()
isUniqueVersion
in interface ArtifactRepository
public void setBlacklisted(boolean blackListed)
setBlacklisted
in interface ArtifactRepository
public boolean isBlacklisted()
isBlacklisted
in interface ArtifactRepository
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.