org.apache.maven.plugin.testing.stubs
Class StubArtifactRepository
java.lang.Object
org.apache.maven.plugin.testing.stubs.StubArtifactRepository
- All Implemented Interfaces:
- org.apache.maven.artifact.repository.ArtifactRepository
public class StubArtifactRepository
- extends java.lang.Object
- implements org.apache.maven.artifact.repository.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(java.lang.String dir)
pathOf
public java.lang.String pathOf(org.apache.maven.artifact.Artifact artifact)
- Specified by:
pathOf
in interface org.apache.maven.artifact.repository.ArtifactRepository
pathOfRemoteRepositoryMetadata
public java.lang.String pathOfRemoteRepositoryMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata artifactMetadata)
- Specified by:
pathOfRemoteRepositoryMetadata
in interface org.apache.maven.artifact.repository.ArtifactRepository
pathOfLocalRepositoryMetadata
public java.lang.String pathOfLocalRepositoryMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata metadata,
org.apache.maven.artifact.repository.ArtifactRepository repository)
- Specified by:
pathOfLocalRepositoryMetadata
in interface org.apache.maven.artifact.repository.ArtifactRepository
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl
in interface org.apache.maven.artifact.repository.ArtifactRepository
getBasedir
public java.lang.String getBasedir()
- Specified by:
getBasedir
in interface org.apache.maven.artifact.repository.ArtifactRepository
getProtocol
public java.lang.String getProtocol()
- Specified by:
getProtocol
in interface org.apache.maven.artifact.repository.ArtifactRepository
getId
public java.lang.String getId()
- Specified by:
getId
in interface org.apache.maven.artifact.repository.ArtifactRepository
getSnapshots
public org.apache.maven.artifact.repository.ArtifactRepositoryPolicy getSnapshots()
- Specified by:
getSnapshots
in interface org.apache.maven.artifact.repository.ArtifactRepository
getReleases
public org.apache.maven.artifact.repository.ArtifactRepositoryPolicy getReleases()
- Specified by:
getReleases
in interface org.apache.maven.artifact.repository.ArtifactRepository
getLayout
public org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout getLayout()
- Specified by:
getLayout
in interface org.apache.maven.artifact.repository.ArtifactRepository
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface org.apache.maven.artifact.repository.ArtifactRepository
isUniqueVersion
public boolean isUniqueVersion()
- Specified by:
isUniqueVersion
in interface org.apache.maven.artifact.repository.ArtifactRepository
setBlacklisted
public void setBlacklisted(boolean blackListed)
- Specified by:
setBlacklisted
in interface org.apache.maven.artifact.repository.ArtifactRepository
isBlacklisted
public boolean isBlacklisted()
- Specified by:
isBlacklisted
in interface org.apache.maven.artifact.repository.ArtifactRepository
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.