@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.
|
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 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()
Repo
coordinates
in interface Repo
public Milestones milestones()
Repo
milestones
in interface Repo
public IssueEvents issueEvents()
Repo
issueEvents
in interface Repo
public Labels labels()
Repo
labels
in interface Repo
public Assignees assignees()
Repo
assignees
in interface Repo
public Releases releases()
Repo
releases
in interface Repo
public DeployKeys keys()
Repo
keys
in interface Repo
public Contents contents()
Repo
contents
in interface Repo
public Collaborators collaborators()
Repo
collaborators
in interface Repo
public Git git()
Repo
git
in interface Repo
public Stars stars()
Repo
stars
in interface Repo
public Notifications notifications()
Repo
notifications
in interface Repo
public Iterable<Language> languages() throws IOException
Repo
languages
in interface Repo
IOException
- If there is any I/O problempublic void patch(javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic RepoCommits commits()
Repo
commits
in interface Repo
public Branches branches()
Repo
branches
in interface Repo
public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic int compareTo(Repo repos)
compareTo
in interface Comparable<Repo>
Copyright © 2012–2018 jcabi.com. All rights reserved.