ProjectApi: Add methods to get and set the project config

Change-Id: Ia38e5790a256bacbaa34c11dfa22f64d8212e947
This commit is contained in:
David Pursehouse
2016-06-21 14:36:34 +09:00
parent fa5f097af2
commit 396e639355
3 changed files with 63 additions and 5 deletions

View File

@@ -33,6 +33,9 @@ public interface ProjectApi {
ProjectAccessInfo access() throws RestApiException;
ProjectAccessInfo access(ProjectAccessInput p) throws RestApiException;
ConfigInfo config() throws RestApiException;
ConfigInfo config(ConfigInput in) throws RestApiException;
ListRefsRequest<BranchInfo> branches();
ListRefsRequest<TagInfo> tags();
@@ -139,6 +142,16 @@ public interface ProjectApi {
throw new NotImplementedException();
}
@Override
public ConfigInfo config() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ConfigInfo config(ConfigInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectAccessInfo access(ProjectAccessInput p)
throws RestApiException {