org.apache.maven.artifact.repository
Interface ArtifactRepository


public interface ArtifactRepository

Specifies the repository used for artifact handling.

Version:
$Id: ArtifactRepository.java 495147 2007-01-11 07:47:53Z jvanzyl $
Author:
Brett Porter

Method Summary
 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 setBlacklisted(boolean blackListed)
           
 

Method Detail

pathOf

String pathOf(Artifact artifact)

pathOfRemoteRepositoryMetadata

String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)

pathOfLocalRepositoryMetadata

String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
                                     ArtifactRepository repository)

getUrl

String getUrl()

getBasedir

String getBasedir()

getProtocol

String getProtocol()

getId

String getId()

getSnapshots

ArtifactRepositoryPolicy getSnapshots()

getReleases

ArtifactRepositoryPolicy getReleases()

getLayout

ArtifactRepositoryLayout getLayout()

getKey

String getKey()

isUniqueVersion

boolean isUniqueVersion()

setBlacklisted

void setBlacklisted(boolean blackListed)

isBlacklisted

boolean isBlacklisted()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.