public class Repository extends RepositoryBase implements Serializable, Cloneable
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone()
Method clone.
|
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.
|
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
- public boolean equals(Object obj)
equals
in class RepositoryBase
RepositoryBase.equals(java.lang.Object)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.