public class BranchApiRestClient extends BranchApi.NotImplemented implements BranchApi
BranchApi.NotImplemented| Constructor and Description |
|---|
BranchApiRestClient(GerritRestClient gerritRestClient,
BranchInfoParser branchInfoParser,
ProjectApiRestClient projectApiRestClient,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
branchUrl() |
BranchApi |
create(BranchInput in) |
void |
delete() |
BinaryResult |
file(String path)
Returns the content of a file from the HEAD revision.
|
BranchInfo |
get() |
reflogpublic BranchApiRestClient(GerritRestClient gerritRestClient, BranchInfoParser branchInfoParser, ProjectApiRestClient projectApiRestClient, String name)
public BranchApi create(BranchInput in) throws RestApiException
create in interface BranchApicreate in class BranchApi.NotImplementedRestApiExceptionpublic BranchInfo get() throws RestApiException
get in interface BranchApiget in class BranchApi.NotImplementedRestApiExceptionpublic void delete()
throws RestApiException
delete in interface BranchApidelete in class BranchApi.NotImplementedRestApiExceptionpublic BinaryResult file(String path) throws RestApiException
BranchApifile in interface BranchApifile in class BranchApi.NotImplementedRestApiExceptionprotected String branchUrl()
Copyright © 2018. All rights reserved.