org.apache.maven.artifact.repository
Class DefaultArtifactRepositoryFactory

java.lang.Object
  extended by org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory
All Implemented Interfaces:
ArtifactRepositoryFactory

public class DefaultArtifactRepositoryFactory
extends Object
implements ArtifactRepositoryFactory

Author:
jdcasey

Field Summary
 
Fields inherited from interface org.apache.maven.artifact.repository.ArtifactRepositoryFactory
ROLE
 
Constructor Summary
DefaultArtifactRepositoryFactory()
           
 
Method Summary
 ArtifactRepository createArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases)
           
 ArtifactRepository createDeploymentArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion)
           
 void setGlobalChecksumPolicy(String checksumPolicy)
           
 void setGlobalUpdatePolicy(String updatePolicy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactRepositoryFactory

public DefaultArtifactRepositoryFactory()
Method Detail

createDeploymentArtifactRepository

public ArtifactRepository createDeploymentArtifactRepository(String id,
                                                             String url,
                                                             ArtifactRepositoryLayout repositoryLayout,
                                                             boolean uniqueVersion)
Specified by:
createDeploymentArtifactRepository in interface ArtifactRepositoryFactory

createArtifactRepository

public ArtifactRepository createArtifactRepository(String id,
                                                   String url,
                                                   ArtifactRepositoryLayout repositoryLayout,
                                                   ArtifactRepositoryPolicy snapshots,
                                                   ArtifactRepositoryPolicy releases)
Specified by:
createArtifactRepository in interface ArtifactRepositoryFactory

setGlobalUpdatePolicy

public void setGlobalUpdatePolicy(String updatePolicy)
Specified by:
setGlobalUpdatePolicy in interface ArtifactRepositoryFactory

setGlobalChecksumPolicy

public void setGlobalChecksumPolicy(String checksumPolicy)
Specified by:
setGlobalChecksumPolicy in interface ArtifactRepositoryFactory


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