public class ServerApiClient extends ApiClient
ApiClient.HttpClientFactorycredentials, factory, key, MAX_KEY_SIZE_BB_API, name, owner, repositoryName| Constructor and Description |
|---|
ServerApiClient(String serverUrl,
String username,
String password,
String owner,
String repositoryName,
String key,
String name,
T httpFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePullRequestApproval(String pullRequestId) |
List<AbstractPullrequest.Comment> |
getPullRequestComments(String commentOwnerName,
String commentRepositoryName,
String pullRequestId) |
List<ServerPullrequest> |
getPullRequests() |
boolean |
hasBuildStatus(String owner,
String repositoryName,
String revision,
String keyEx) |
CloudPullrequest.Participant |
postPullRequestApproval(String pullRequestId) |
ServerPullrequest.Comment |
postPullRequestComment(String pullRequestId,
String content) |
void |
setBuildStatus(String owner,
String repositoryName,
String revision,
BuildState state,
String buildUrl,
String comment,
String keyEx) |
buildStatusKey, computeAPIKey, delete, get, getName, parse, parse, parse, post, post, post, put, serializeObjectpublic List<ServerPullrequest> getPullRequests()
getPullRequests in class ApiClientpublic List<AbstractPullrequest.Comment> getPullRequestComments(String commentOwnerName, String commentRepositoryName, String pullRequestId)
getPullRequestComments in class ApiClientpublic boolean hasBuildStatus(String owner, String repositoryName, String revision, String keyEx)
hasBuildStatus in class ApiClientpublic void setBuildStatus(String owner, String repositoryName, String revision, BuildState state, String buildUrl, String comment, String keyEx)
setBuildStatus in class ApiClientpublic void deletePullRequestApproval(String pullRequestId)
deletePullRequestApproval in class ApiClientpublic CloudPullrequest.Participant postPullRequestApproval(String pullRequestId)
postPullRequestApproval in class ApiClientpublic ServerPullrequest.Comment postPullRequestComment(String pullRequestId, String content)
postPullRequestComment in class ApiClientCopyright © 2016–2019. All rights reserved.