Package org.apache.maven.settings
Class Repository
java.lang.Object
org.apache.maven.settings.RepositoryBase
org.apache.maven.settings.Repository
- All Implemented Interfaces:
Serializable
,Cloneable
Repository contains the information needed for
establishing
connections with remote repository
.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.boolean
Get how to handle downloading of releases from this repository.Get how to handle downloading of snapshots from this repository.void
setReleases
(RepositoryPolicy releases) Set how to handle downloading of releases from this repository.void
setSnapshots
(RepositoryPolicy snapshots) Set how to handle downloading of snapshots from this repository.
-
Constructor Details
-
Repository
public Repository()
-
-
Method Details
-
clone
Method clone.- Overrides:
clone
in classRepositoryBase
- Returns:
- Repository
-
getReleases
Get how to handle downloading of releases from this repository.- Returns:
- RepositoryPolicy
-
getSnapshots
Get how to handle downloading of snapshots from this repository.- Returns:
- RepositoryPolicy
-
setReleases
Set how to handle downloading of releases from this repository.- Parameters:
releases
- a releases object.
-
setSnapshots
Set how to handle downloading of snapshots from this repository.- Parameters:
snapshots
- a snapshots object.
-
equals
- Overrides:
equals
in classRepositoryBase
- See Also:
-