@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.
|
Coordinates |
coordinates()
Get its coordinates.
|
String |
description()
Get its description.
|
Iterable<Event> |
events()
Get all events for the repository.
|
Github |
github()
Get its owner.
|
Issues |
issues()
Iterate issues.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
Labels |
labels()
Get all labels of the repo.
|
Milestones |
milestones()
Iterate milestones.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
Pulls |
pulls()
Pull requests.
|
public Repo.Smart(Repo rep)
rep
- Repopublic String description() 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 Iterable<Event> events()
Repo
events
in interface Repo
public Labels labels()
Repo
labels
in interface Repo
public Assignees assignees()
Repo
assignees
in interface Repo
Assignees API
public void patch(javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.