@Immutable @Loggable(value=1) public static final class Repo.Smart extends Object implements Repo
Repo.Smart
Constructor and Description |
---|
Repo.Smart(Repo rep)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Assignees |
assignees()
Get all available assignees to which issues may be assigned.
|
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.
|
Iterable<Event> |
events()
Get all events for the repository.
|
Forks |
forks()
Get all forks of the repo.
|
Git |
git()
Get the Git API entry point.
|
Github |
github()
Get its owner.
|
Hooks |
hooks()
Hooks.
|
boolean |
isPrivate()
Is it private?.
|
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.
|
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.
|
@NotNull(message="description is never NULL") public String description() throws IOException
IOException
- If there is any I/O problempublic boolean isPrivate() throws IOException
IOException
- If there is any I/O problem@NotNull(message="github is never NULL") public Github github()
Repo
@NotNull(message="coordinates is never NULL") public Coordinates coordinates()
Repo
coordinates
in interface Repo
@NotNull(message="issues is never NULL") public Issues issues()
Repo
@NotNull(message="milestones is never NULL") public Milestones milestones()
Repo
milestones
in interface Repo
@NotNull(message="pulls is never NULL") public Pulls pulls()
Repo
@NotNull(message="hooks is never NULL") public Hooks hooks()
Repo
@NotNull(message="Iterable of events is never NULL") public Iterable<Event> events()
Repo
events
in interface Repo
@NotNull(message="labels is never NULL") public Labels labels()
Repo
labels
in interface Repo
@NotNull(message="assignees is never NULL") public Assignees assignees()
Repo
assignees
in interface Repo
@NotNull(message="releases is never NULL") public Releases releases()
Repo
releases
in interface Repo
@NotNull(message="keys is never NULL") public DeployKeys keys()
Repo
keys
in interface Repo
@NotNull(message="forks is never NULL") public Forks forks()
Repo
@NotNull(message="contents is never NULL") public Contents contents()
Repo
contents
in interface Repo
@NotNull(message="collaborators is never NULL") public Collaborators collaborators()
Repo
collaborators
in interface Repo
@NotNull(message="git is never NULL") public Git git()
Repo
git
in interface Repo
@NotNull(message="stars is never NULL") public Stars stars()
Repo
stars
in interface Repo
@NotNull(message="notifications is never NULL") public Notifications notifications()
Repo
notifications
in interface Repo
public void patch(@NotNull(message="json can\'t be NULL") javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problem@NotNull(message="commits is never NULL") public RepoCommits commits()
Repo
commits
in interface Repo
@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 int compareTo(Repo repos)
compareTo
in interface Comparable<Repo>
Copyright © 2012–2014 jcabi.com. All rights reserved.