org.apache.maven.plugin.testing.stubs
Class StubArtifactRepository
java.lang.Object
org.apache.maven.plugin.testing.stubs.StubArtifactRepository
- All Implemented Interfaces:
- ArtifactRepository
public class StubArtifactRepository
- extends Object
- implements ArtifactRepository
- Author:
- Brian Fox
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubArtifactRepository
public StubArtifactRepository(String dir)
pathOf
public String pathOf(Artifact artifact)
- Specified by:
pathOf in interface ArtifactRepository
pathOfRemoteRepositoryMetadata
public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
- Specified by:
pathOfRemoteRepositoryMetadata in interface ArtifactRepository
pathOfLocalRepositoryMetadata
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
ArtifactRepository repository)
- Specified by:
pathOfLocalRepositoryMetadata in interface ArtifactRepository
getUrl
public String getUrl()
- Specified by:
getUrl in interface ArtifactRepository
getBasedir
public String getBasedir()
- Specified by:
getBasedir in interface ArtifactRepository
getProtocol
public String getProtocol()
- Specified by:
getProtocol in interface ArtifactRepository
getId
public String getId()
- Specified by:
getId in interface ArtifactRepository
getSnapshots
public ArtifactRepositoryPolicy getSnapshots()
- Specified by:
getSnapshots in interface ArtifactRepository
getReleases
public ArtifactRepositoryPolicy getReleases()
- Specified by:
getReleases in interface ArtifactRepository
getLayout
public ArtifactRepositoryLayout getLayout()
- Specified by:
getLayout in interface ArtifactRepository
getKey
public String getKey()
- Specified by:
getKey in interface ArtifactRepository
isUniqueVersion
public boolean isUniqueVersion()
- Specified by:
isUniqueVersion in interface ArtifactRepository
setBlacklisted
public void setBlacklisted(boolean blackListed)
- Specified by:
setBlacklisted in interface ArtifactRepository
isBlacklisted
public boolean isBlacklisted()
- Specified by:
isBlacklisted in interface ArtifactRepository
Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.