Package org.apache.maven.settings
Class Repository
- java.lang.Object
-
- org.apache.maven.settings.RepositoryBase
-
- org.apache.maven.settings.Repository
-
- All Implemented Interfaces:
java.io.Serializable
public class Repository extends RepositoryBase implements java.io.Serializable
Repository contains the information needed for establishing connections with remote repoistory .- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private RepositoryPolicy
releases
How to handle downloading of releases from this repository .private RepositoryPolicy
snapshots
How to handle downloading of snapshots from this repository .
-
Constructor Summary
Constructors Constructor Description Repository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
RepositoryPolicy
getReleases()
Get how to handle downloading of releases from this repository.RepositoryPolicy
getSnapshots()
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.
-
-
-
Field Detail
-
releases
private RepositoryPolicy releases
How to handle downloading of releases from this repository .
-
snapshots
private RepositoryPolicy snapshots
How to handle downloading of snapshots from this repository .
-
-
Method Detail
-
getReleases
public RepositoryPolicy getReleases()
Get how to handle downloading of releases from this repository.- Returns:
- RepositoryPolicy
-
getSnapshots
public RepositoryPolicy getSnapshots()
Get how to handle downloading of snapshots from this repository.- Returns:
- RepositoryPolicy
-
setReleases
public void setReleases(RepositoryPolicy releases)
Set how to handle downloading of releases from this repository.- Parameters:
releases
-
-
setSnapshots
public void setSnapshots(RepositoryPolicy snapshots)
Set how to handle downloading of snapshots from this repository.- Parameters:
snapshots
-
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classRepositoryBase
- See Also:
RepositoryBase.equals(java.lang.Object)
-
-