Package org.apache.maven.model
Class Repository
java.lang.Object
org.apache.maven.model.RepositoryBase
org.apache.maven.model.Repository
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- DeploymentRepository
A repository contains the information needed for establishing
 connections with
         remote repository.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.Get how to handle downloading of releases from this repository.Get how to handle downloading of snapshots from this repository.voidsetReleases(RepositoryPolicy releases) Set how to handle downloading of releases from this repository.voidsetSnapshots(RepositoryPolicy snapshots) Set how to handle downloading of snapshots from this repository.Methods inherited from class org.apache.maven.model.RepositoryBaseequals, getId, getLayout, getLocation, getName, getUrl, hashCode, setId, setLayout, setLocation, setName, setOtherLocation, setUrl, toString
- 
Constructor Details- 
Repositorypublic Repository()
 
- 
- 
Method Details- 
cloneMethod clone.- Overrides:
- clonein class- RepositoryBase
- Returns:
- Repository
 
- 
getReleasesGet how to handle downloading of releases from this repository.- Returns:
- RepositoryPolicy
 
- 
getSnapshotsGet how to handle downloading of snapshots from this repository.- Returns:
- RepositoryPolicy
 
- 
setReleasesSet how to handle downloading of releases from this repository.- Parameters:
- releases- a releases object.
 
- 
setSnapshotsSet how to handle downloading of snapshots from this repository.- Parameters:
- snapshots- a snapshots object.
 
 
-