ProjectApi: Add method to delete branches

Change-Id: I1b707c276c8a6b8ec9923cd19e3ecc9070bf310b
This commit is contained in:
David Pursehouse
2016-06-21 18:13:33 +09:00
parent 58cfa4c37e
commit 344b8c9cda
4 changed files with 181 additions and 3 deletions

View File

@@ -39,6 +39,8 @@ public interface ProjectApi {
ListRefsRequest<BranchInfo> branches();
ListRefsRequest<TagInfo> tags();
void deleteBranches(DeleteBranchesInput in) throws RestApiException;
abstract class ListRefsRequest<T extends RefInfo> {
protected int limit;
protected int start;
@@ -198,5 +200,10 @@ public interface ProjectApi {
public TagApi tag(String ref) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteBranches(DeleteBranchesInput in) throws RestApiException {
throw new NotImplementedException();
}
}
}