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