public class ApiClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiClient.HttpClientFactory |
| Modifier and Type | Field and Description |
|---|---|
static byte |
MAX_KEY_SIZE_BB_API |
| Constructor and Description |
|---|
ApiClient(String username,
String password,
String owner,
String repositoryName,
String key,
String name,
T httpFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildStatusKey(String bsKey) |
void |
deletePullRequestApproval(String pullRequestId) |
void |
deletePullRequestComment(String pullRequestId,
String commentId) |
String |
getName() |
List<Pullrequest.Comment> |
getPullRequestComments(String commentOwnerName,
String commentRepositoryName,
String pullRequestId) |
List<Pullrequest> |
getPullRequests() |
boolean |
hasBuildStatus(String owner,
String repositoryName,
String revision,
String keyEx) |
Pullrequest.Participant |
postPullRequestApproval(String pullRequestId) |
Pullrequest.Comment |
postPullRequestComment(String pullRequestId,
String content) |
void |
setBuildStatus(String owner,
String repositoryName,
String revision,
BuildState state,
String buildUrl,
String comment,
String keyEx) |
public static final byte MAX_KEY_SIZE_BB_API
public List<Pullrequest> getPullRequests()
public List<Pullrequest.Comment> getPullRequestComments(String commentOwnerName, String commentRepositoryName, String pullRequestId)
public String getName()
public boolean hasBuildStatus(String owner, String repositoryName, String revision, String keyEx)
public void setBuildStatus(String owner, String repositoryName, String revision, BuildState state, String buildUrl, String comment, String keyEx)
public void deletePullRequestApproval(String pullRequestId)
public void deletePullRequestComment(String pullRequestId, String commentId)
public Pullrequest.Participant postPullRequestApproval(String pullRequestId)
public Pullrequest.Comment postPullRequestComment(String pullRequestId, String content)
Copyright © 2016–2018. All rights reserved.