@Immutable @Loggable(value=1) public static final class Fork.Smart extends Object implements Fork
Fork.Smart
Constructor and Description |
---|
Fork.Smart(Fork frk)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
URL |
cloneUrl()
Get its clone url.
|
String |
defaultBranch()
Get its default branch.
|
String |
description()
Get its description.
|
int |
forks()
Get its forks count.
|
String |
fullName()
Get its full name.
|
String |
gitUrl()
Get its git url.
|
URL |
homeUrl()
Get its home page.
|
URL |
htmlUrl()
Get its html url.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
mirrorUrl()
Get its mirror url.
|
String |
name()
Get its name.
|
int |
number()
Fork id.
|
int |
openIssues()
Get its open issues count.
|
String |
organization()
Get its organization.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
int |
size()
Get its size.
|
String |
sshUrl()
Get its ssh url.
|
int |
stargazers()
Get its stargazers count.
|
URL |
svnUrl()
Get its svn url.
|
URL |
url()
Get its URL.
|
int |
watchers()
Get its watchers count.
|
@NotNull(message="name is never NULL") public String name() throws IOException
IOException
- If there is any I/O problem@NotNull(message="organization is never NULL") public String organization() throws IOException
IOException
- If there is any I/O problem@NotNull(message="url is never NULL") public URL url() throws IOException
IOException
- If there is any I/O problem@NotNull(message="full_name is never NULL") public String fullName() throws IOException
IOException
- If there is any I/O problem@NotNull(message="description is never NULL") public String description() throws IOException
IOException
- If there is any I/O problem@NotNull(message="html url is never NULL") public URL htmlUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="clone url is never NULL") public URL cloneUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="git url is never NULL") public String gitUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="ssh url is never NULL") public String sshUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="svn url is never NULL") public URL svnUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="mirror url is never NULL") public String mirrorUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="homepage url is never NULL") public URL homeUrl() throws IOException
IOException
- If there is any I/O problempublic int forks() throws IOException
IOException
- If there is any I/O problempublic int stargazers() throws IOException
IOException
- If there is any I/O problempublic int watchers() throws IOException
IOException
- If there is any I/O problempublic int size() throws IOException
IOException
- If there is any I/O problem@NotNull(message="default branch is never NULL") public String defaultBranch() throws IOException
IOException
- If there is any I/O problempublic int openIssues() throws IOException
IOException
- If there is any I/O problempublic int number()
Fork
@NotNull(message="JSON is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic void patch(@NotNull(message="JSON is never NULL") javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.