public class Repository extends RepositoryBase implements Serializable, Cloneable
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
public Repository()
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
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.