@Generated public class Repository extends RepositoryBase implements Serializable, Cloneable
BaseObject.ChildrenTrackingchildrenTracking, delegate| Constructor and Description |
|---|
Repository() |
Repository(Repository delegate) |
Repository(Repository delegate,
BaseObject parent) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
clone() |
boolean |
equals(Object o) |
Repository |
getDelegate() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
RepositoryPolicy |
getReleases() |
RepositoryPolicy |
getSnapshots() |
int |
hashCode() |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
static List<Repository> |
repositoryToApiV3(List<Repository> list) |
static List<Repository> |
repositoryToApiV4(List<Repository> list) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setReleases(RepositoryPolicy releases) |
void |
setSnapshots(RepositoryPolicy snapshots) |
getId, getLayout, getName, getUrl, repositoryBaseToApiV3, repositoryBaseToApiV4, setId, setLayout, setName, setUrlupdatepublic Repository()
public Repository(Repository delegate)
public Repository(Repository delegate, BaseObject parent)
public Repository clone()
clone in class RepositoryBasepublic Repository getDelegate()
getDelegate in class RepositoryBasepublic boolean equals(Object o)
equals in class RepositoryBasepublic int hashCode()
hashCode in class RepositoryBasepublic RepositoryPolicy getReleases()
public void setReleases(RepositoryPolicy releases)
public RepositoryPolicy getSnapshots()
public void setSnapshots(RepositoryPolicy snapshots)
public InputLocation getLocation(Object key)
InputLocationTrackergetLocation in interface InputLocationTrackergetLocation in class RepositoryBasekey - The key of the field, must not be
null.null if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackersetLocation in class RepositoryBasekey - The key of the field, must not be
null.location - The location of the field, may be
null.protected boolean replace(Object oldDelegate, Object newDelegate)
replace in class RepositoryBasepublic static List<Repository> repositoryToApiV4(List<Repository> list)
public static List<Repository> repositoryToApiV3(List<Repository> list)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.