@Component(role=ArtifactRepositoryFactory.class) public class DefaultArtifactRepositoryFactory extends Object implements ArtifactRepositoryFactory
DEFAULT_LAYOUT_ID, LOCAL_REPOSITORY_ID, ROLE
Constructor and Description |
---|
DefaultArtifactRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
ArtifactRepository |
createArtifactRepository(String id,
String url,
ArtifactRepositoryLayout repositoryLayout,
ArtifactRepositoryPolicy snapshots,
ArtifactRepositoryPolicy releases) |
ArtifactRepository |
createArtifactRepository(String id,
String url,
String layoutId,
ArtifactRepositoryPolicy snapshots,
ArtifactRepositoryPolicy releases) |
ArtifactRepository |
createDeploymentArtifactRepository(String id,
String url,
ArtifactRepositoryLayout repositoryLayout,
boolean uniqueVersion) |
ArtifactRepository |
createDeploymentArtifactRepository(String id,
String url,
String layoutId,
boolean uniqueVersion) |
ArtifactRepositoryLayout |
getLayout(String layoutId) |
void |
setGlobalChecksumPolicy(String checksumPolicy) |
void |
setGlobalUpdatePolicy(String updatePolicy) |
public DefaultArtifactRepositoryFactory()
public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException
getLayout
in interface ArtifactRepositoryFactory
UnknownRepositoryLayoutException
public ArtifactRepository createDeploymentArtifactRepository(String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException
createDeploymentArtifactRepository
in interface ArtifactRepositoryFactory
UnknownRepositoryLayoutException
public ArtifactRepository createDeploymentArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion)
createDeploymentArtifactRepository
in interface ArtifactRepositoryFactory
public ArtifactRepository createArtifactRepository(String id, String url, String layoutId, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) throws UnknownRepositoryLayoutException
createArtifactRepository
in interface ArtifactRepositoryFactory
UnknownRepositoryLayoutException
public ArtifactRepository createArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases)
createArtifactRepository
in interface ArtifactRepositoryFactory
public void setGlobalUpdatePolicy(String updatePolicy)
setGlobalUpdatePolicy
in interface ArtifactRepositoryFactory
public void setGlobalChecksumPolicy(String checksumPolicy)
setGlobalChecksumPolicy
in interface ArtifactRepositoryFactory
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.