public class StatusesTemplate extends AbstractGithubTemplate implements StatusesOperations
| Constructor and Description |
|---|
StatusesTemplate(org.springframework.web.client.RestOperations restOperations) |
| Modifier and Type | Method and Description |
|---|---|
Status |
createStatus(String owner,
String repository,
String sha,
StatusRequest body) |
CombinedStatus |
getCombinedStatus(String owner,
String repository,
String ref)
'ref' can be SHA, branch or tag.
|
List<Status> |
listStatuses(String owner,
String repository,
String ref) |
buildUri, buildUri, buildUriString, buildUriTemplate, getRestOperations, getRestOperationspublic StatusesTemplate(org.springframework.web.client.RestOperations restOperations)
public Status createStatus(String owner, String repository, String sha, StatusRequest body)
createStatus in interface StatusesOperationspublic List<Status> listStatuses(String owner, String repository, String ref)
listStatuses in interface StatusesOperationspublic CombinedStatus getCombinedStatus(String owner, String repository, String ref)
getCombinedStatus in interface StatusesOperationsCopyright © 2015–2016 Zalando SE. All rights reserved.