@Immutable public interface Pull extends Comparable<Pull>, JsonReadable, JsonPatchable
Modifier and Type | Interface and Description |
---|---|
static class |
Pull.Smart
Smart pull request with extra features.
|
Modifier and Type | Method and Description |
---|---|
PullComments |
comments()
Get Pull Comments.
|
Iterable<Commit> |
commits()
Get all commits of the pull request.
|
Iterable<javax.json.JsonObject> |
files()
List all files of the pull request.
|
void |
merge(String msg)
Merge it.
|
int |
number()
Get its number.
|
Repo |
repo()
Pull we're in.
|
compareTo
json
patch
int number()
@NotNull(message="commits are never NULL") Iterable<Commit> commits() throws IOException
IOException
- If there is any I/O problem@NotNull(message="iterable of files is never NULL") Iterable<javax.json.JsonObject> files() throws IOException
IOException
- If there is any I/O problemvoid merge(@NotNull(message="message can\'t be NULL") String msg) throws IOException
msg
- Commit messageIOException
- If there is any I/O problem@NotNull(message="PullComments is never NULL") PullComments comments() throws IOException
IOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.