Plugin API: Add get project API

Change-Id: Iff3ddf558a1526cfa7324175767ec7e7bc0f7803
This commit is contained in:
David Ostrovsky
2014-03-24 23:11:40 -07:00
parent 8f3931bb0d
commit cddaea317a
4 changed files with 49 additions and 9 deletions

View File

@@ -14,10 +14,12 @@
package com.google.gerrit.extensions.api.projects;
import com.google.gerrit.extensions.common.ProjectInfo;
import com.google.gerrit.extensions.restapi.RestApiException;
public interface ProjectApi {
ProjectApi create() throws RestApiException;
ProjectApi create(ProjectInput in) throws RestApiException;
ProjectInfo get();
BranchApi branch(String ref);
}