public class Repository extends RepositoryBase implements java.io.Serializable
Modifier and Type | Field and 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 and Description |
---|
Repository() |
Modifier and Type | Method and 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.
|
private RepositoryPolicy releases
private RepositoryPolicy snapshots
public RepositoryPolicy getReleases()
public RepositoryPolicy getSnapshots()
public void setReleases(RepositoryPolicy releases)
releases
- a releases object.public void setSnapshots(RepositoryPolicy snapshots)
snapshots
- a snapshots object.public boolean equals(java.lang.Object obj)
equals
in class RepositoryBase