public class StashApiClient extends Object
| Constructor and Description |
|---|
StashApiClient(String stashHost,
String username,
String password,
String project,
String repositoryName,
boolean ignoreSsl) |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePullRequestComment(String pullRequestId,
String commentId) |
void |
deleteRequest(String path) |
List<StashPullRequestComment> |
getPullRequestComments(String projectCode,
String commentRepositoryName,
String pullRequestId) |
StashPullRequestMergableResponse |
getPullRequestMergeStatus(String pullRequestId) |
List<StashPullRequestResponseValue> |
getPullRequests() |
protected static StashPullRequestMergableResponse |
parsePullRequestMergeStatus(String response) |
StashPullRequestComment |
postPullRequestComment(String pullRequestId,
String comment) |
public List<StashPullRequestResponseValue> getPullRequests()
public List<StashPullRequestComment> getPullRequestComments(String projectCode, String commentRepositoryName, String pullRequestId)
public void deletePullRequestComment(String pullRequestId, String commentId)
public StashPullRequestComment postPullRequestComment(String pullRequestId, String comment)
public StashPullRequestMergableResponse getPullRequestMergeStatus(String pullRequestId)
public void deleteRequest(String path)
protected static StashPullRequestMergableResponse parsePullRequestMergeStatus(String response) throws IOException
IOExceptionCopyright © 2004-2016. All Rights Reserved.