@Immutable
public interface PullComments
| Modifier and Type | Method and Description |
|---|---|
PullComment |
get(int number)
Get specific pull comment by number.
|
Iterable<PullComment> |
iterate(int number,
Map<String,String> params)
Iterate all pull comments for a pull request.
|
Iterable<PullComment> |
iterate(Map<String,String> params)
Iterate all pull comments for this repo.
|
PullComment |
post(String body,
String commit,
String path,
int position)
Post a new pull comment.
|
Pull |
pull()
Pull we're in.
|
void |
remove(int number)
Removes a pull comment by ID.
|
PullComment |
reply(String body,
int comment)
Create a new comment as a reply to an existing pull comment.
|
Pull pull()
PullComment get(int number)
number - Pull comment numberIterable<PullComment> iterate(Map<String,String> params)
params - Iterating parameters, as specified by APIIterable<PullComment> iterate(int number, Map<String,String> params)
number - Pull comment numberparams - Iterating parameters, as specified by APIPullComment post(String body, String commit, String path, int position) throws IOException
body - Body of itcommit - Commit ID (SHA) of itpath - Path of the file to comment onposition - Line index in the diff to comment onIOException - If there is any I/O problemPullComment reply(String body, int comment) throws IOException
body - Body of itcomment - Commit ID (SHA) of itIOException - If there is any I/O problemvoid remove(int number)
throws IOException
number - The ID of the pull comment to delete.IOException - If there is any I/O problem.Copyright © 2012–2018 jcabi.com. All rights reserved.