public class Repository extends RepositoryBase implements java.io.Serializable, java.lang.Cloneable
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 |
---|---|
Repository |
clone()
Method clone.
|
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.
|
equals, getId, getLayout, getLocation, getName, getUrl, hashCode, setId, setLayout, setLocation, setName, setUrl, toString
private RepositoryPolicy releases
private RepositoryPolicy snapshots
public Repository clone()
clone
in class RepositoryBase
public RepositoryPolicy getReleases()
public RepositoryPolicy getSnapshots()
public void setReleases(RepositoryPolicy releases)
releases
- public void setSnapshots(RepositoryPolicy snapshots)
snapshots
-