public class Repository extends Entity
| Constructor and Description |
|---|
Repository()
Constructs this object with no property values.
|
Repository(JsonObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullName()
Returns the full name.
|
Map<String,URL> |
getLinks()
Returns the map of the links.
|
String |
getName()
Returns the name.
|
User |
getOwner()
Returns the owner.
|
String |
getScm()
Returns the SCM.
|
UUID |
getUuid()
Returns the UUID.
|
boolean |
isPrivate()
Returns the boolean value that indicates whether the repository is
private or not.
|
void |
setLinks(Map<String,URL> links)
Sets the map of the links.
|
void |
setName(String name)
Sets the name.
|
void |
setOwner(User owner)
Sets the owner.
|
void |
setPrivate(boolean Private)
Sets the boolean value that indicates whether the repository is private
or not.
|
void |
setScm(String scm)
Sets the SCM
|
void |
setUuid(UUID uuid)
Sets the UUID.
|
protected void |
updateFullName()
Updated the full name from the owner and the name.
|
public Repository()
public Repository(JsonObject jsonObject)
public UUID getUuid()
public User getOwner()
public String getName()
public String getFullName()
public String getScm()
"git" or "hg"public boolean isPrivate()
true if the repository is private, or
false otherwisepublic void setUuid(UUID uuid)
uuid - UUID to be setpublic void setOwner(User owner)
owner - owner to be setpublic void setName(String name)
name - to be setpublic void setScm(String scm)
scm - SCM to be set, which should be either "git" or
"hg"public void setPrivate(boolean Private)
Private - true if the repository is private, or
false otherwisepublic void setLinks(Map<String,URL> links)
links - map of the links to be setprotected void updateFullName()
Copyright © 2015 Nishimura Software Studio. All rights reserved.