@Immutable @Loggable(value=1) public static final class Fork.Smart extends Object implements Fork
Fork.Smart| 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.
|
public Smart(Fork frk)
frk - Forkpublic String name() throws IOException
IOException - If there is any I/O problempublic String organization() throws IOException
IOException - If there is any I/O problempublic URL url() throws IOException
IOException - If there is any I/O problempublic String fullName() throws IOException
IOException - If there is any I/O problempublic String description() throws IOException
IOException - If there is any I/O problempublic URL htmlUrl() throws IOException
IOException - If there is any I/O problempublic URL cloneUrl() throws IOException
IOException - If there is any I/O problempublic String gitUrl() throws IOException
IOException - If there is any I/O problempublic String sshUrl() throws IOException
IOException - If there is any I/O problempublic URL svnUrl() throws IOException
IOException - If there is any I/O problempublic String mirrorUrl() throws IOException
IOException - If there is any I/O problempublic 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 problempublic 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()
Forkpublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic void patch(javax.json.JsonObject json)
throws IOException
JsonPatchablepatch in interface JsonPatchablejson - JSON objectIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.