@Immutable @Loggable(value=1) public static final class Repo.Smart extends Object implements Repo
Repo.Smart| Modifier and Type | Method and Description |
|---|---|
Assignees |
assignees()
Get all available assignees to which issues may be assigned.
|
Branches |
branches()
Get repository's branches.
|
Collaborators |
collaborators()
Gel all collaborators.
|
RepoCommits |
commits()
Get repository's commits.
|
int |
compareTo(Repo repos) |
Contents |
contents()
Get all contents of the repo.
|
Coordinates |
coordinates()
Get its coordinates.
|
String |
description()
Get its description.
|
boolean |
exists()
Does this Repo actually exist in Github?
|
Forks |
forks()
Get all forks of the repo.
|
Git |
git()
Get the Git API entry point.
|
Github |
github()
Get its owner.
|
boolean |
hasDescription()
Does it have a description.
|
Hooks |
hooks()
Hooks.
|
boolean |
isPrivate()
Is it private?.
|
IssueEvents |
issueEvents()
Get all issue events for the repository.
|
Issues |
issues()
Iterate issues.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
DeployKeys |
keys()
Get all deploy keys of the repo.
|
Labels |
labels()
Get all labels of the repo.
|
Iterable<Language> |
languages()
Get languages for the specified repository.
|
Milestones |
milestones()
Iterate milestones.
|
Notifications |
notifications()
Get Notifications API.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
Pulls |
pulls()
Pull requests.
|
Releases |
releases()
Get all releases of the repo.
|
Stars |
stars()
Get Starring API.
|
public Smart(Repo rep)
rep - Repopublic boolean exists()
throws IOException
IOException - If there is any I/O problem.public boolean hasDescription()
throws IOException
IOException - If there is any I/O problempublic String description() throws IOException
IOException - If there is any I/O problempublic boolean isPrivate()
throws IOException
IOException - If there is any I/O problempublic Coordinates coordinates()
Repocoordinates in interface Repopublic Milestones milestones()
Repomilestones in interface Repopublic IssueEvents issueEvents()
RepoissueEvents in interface Repopublic Labels labels()
Repolabels in interface Repopublic Assignees assignees()
Repoassignees in interface Repopublic Releases releases()
Reporeleases in interface Repopublic DeployKeys keys()
Repokeys in interface Repopublic Contents contents()
Repocontents in interface Repopublic Collaborators collaborators()
Repocollaborators in interface Repopublic Git git()
Repogit in interface Repopublic Stars stars()
Repostars in interface Repopublic Notifications notifications()
Reponotifications in interface Repopublic Iterable<Language> languages() throws IOException
Repolanguages in interface RepoIOException - 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 problempublic RepoCommits commits()
Repocommits in interface Repopublic Branches branches()
Repobranches in interface Repopublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic int compareTo(Repo repos)
compareTo in interface Comparable<Repo>Copyright © 2012–2018 jcabi.com. All rights reserved.