Class ProjectApi.NotImplemented
- java.lang.Object
- 
- com.google.gerrit.extensions.api.projects.ProjectApi.NotImplemented
 
- 
- All Implemented Interfaces:
- ProjectApi
 - Enclosing interface:
- ProjectApi
 
 public static class ProjectApi.NotImplemented extends Object implements ProjectApi A default implementation which allows source compatibility when adding new methods to the interface.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.projects.ProjectApiProjectApi.ListDashboardsRequest, ProjectApi.ListLabelsRequest, ProjectApi.ListRefsRequest<T extends RefInfo>, ProjectApi.NotImplemented
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectAccessInfoaccess()ProjectAccessInfoaccess(ProjectAccessInput p)ChangeInfoaccessChange(ProjectAccessInput input)BranchApibranch(String ref)Look up a branch by refname.ProjectApi.ListRefsRequest<BranchInfo>branches()CheckProjectResultInfocheck(CheckProjectInput in)AccessCheckInfocheckAccess(AccessCheckInput in)ChildProjectApichild(String name)List<ProjectInfo>children()List<ProjectInfo>children(boolean recursive)List<ProjectInfo>children(int limit)CommitApicommit(String commit)Lookup a commit by itsObjectIdstring.ConfigInfoconfig()ConfigInfoconfig(ConfigInput in)ProjectApicreate()ProjectApicreate(ProjectInput in)DashboardApidashboard(String name)Lookup a dashboard by its name.ProjectApi.ListDashboardsRequestdashboards()DashboardApidefaultDashboard()Get the project's default dashboard.voiddefaultDashboard(String name)Set the project's default dashboard.voiddeleteBranches(DeleteBranchesInput in)voiddeleteTags(DeleteTagsInput in)Stringdescription()voiddescription(DescriptionInput in)ProjectInfoget()Stringhead()Get the name of the branch to whichHEADpoints.voidhead(String head)Set the project'sHEAD.voidindex(boolean indexChildren)Reindex the project and children in caseindexChildrenis specified.voidindexChanges()Reindexes all changes of the project.LabelApilabel(String labelName)ProjectApi.ListLabelsRequestlabels()voidlabels(BatchLabelInput input)Adds, updates and deletes label definitions in a batch.Stringparent()Get the name of the project's parent.voidparent(String parent)Set the project's parent.voidremoveDefaultDashboard()Remove the project's default dashboard.TagApitag(String ref)Look up a tag by refname.ProjectApi.ListRefsRequest<TagInfo>tags()
 
- 
- 
- 
Method Detail- 
createpublic ProjectApi create() throws RestApiException - Specified by:
- createin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
createpublic ProjectApi create(ProjectInput in) throws RestApiException - Specified by:
- createin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
getpublic ProjectInfo get() throws RestApiException - Specified by:
- getin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
descriptionpublic String description() throws RestApiException - Specified by:
- descriptionin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
accesspublic ProjectAccessInfo access() throws RestApiException - Specified by:
- accessin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
accesspublic ProjectAccessInfo access(ProjectAccessInput p) throws RestApiException - Specified by:
- accessin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
accessChangepublic ChangeInfo accessChange(ProjectAccessInput input) throws RestApiException - Specified by:
- accessChangein interface- ProjectApi
- Throws:
- RestApiException
 
 - 
checkAccesspublic AccessCheckInfo checkAccess(AccessCheckInput in) throws RestApiException - Specified by:
- checkAccessin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
checkpublic CheckProjectResultInfo check(CheckProjectInput in) throws RestApiException - Specified by:
- checkin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
configpublic ConfigInfo config() throws RestApiException - Specified by:
- configin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
configpublic ConfigInfo config(ConfigInput in) throws RestApiException - Specified by:
- configin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
descriptionpublic void description(DescriptionInput in) throws RestApiException - Specified by:
- descriptionin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
branchespublic ProjectApi.ListRefsRequest<BranchInfo> branches() - Specified by:
- branchesin interface- ProjectApi
 
 - 
tagspublic ProjectApi.ListRefsRequest<TagInfo> tags() - Specified by:
- tagsin interface- ProjectApi
 
 - 
childrenpublic List<ProjectInfo> children() throws RestApiException - Specified by:
- childrenin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
childrenpublic List<ProjectInfo> children(boolean recursive) throws RestApiException - Specified by:
- childrenin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
childrenpublic List<ProjectInfo> children(int limit) throws RestApiException - Specified by:
- childrenin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
childpublic ChildProjectApi child(String name) throws RestApiException - Specified by:
- childin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
branchpublic BranchApi branch(String ref) throws RestApiException Description copied from interface:ProjectApiLook up a branch by refname.Note: This method eagerly reads the branch. Methods that mutate the branch do not necessarily re-read the branch. Therefore, calling a getter method on an instance after calling a mutation method on that same instance is not guaranteed to reflect the mutation. It is not recommended to store references to BranchApiinstances.- Specified by:
- branchin interface- ProjectApi
- Parameters:
- ref- branch name, with or without "refs/heads/" prefix.
- Returns:
- API for accessing the branch.
- Throws:
- RestApiException- if a problem occurred reading the project.
 
 - 
tagpublic TagApi tag(String ref) throws RestApiException Description copied from interface:ProjectApiLook up a tag by refname.- Specified by:
- tagin interface- ProjectApi
- Parameters:
- ref- tag name, with or without "refs/tags/" prefix.
- Returns:
- API for accessing the tag.
- Throws:
- RestApiException- if a problem occurred reading the project.
 
 - 
deleteBranchespublic void deleteBranches(DeleteBranchesInput in) throws RestApiException - Specified by:
- deleteBranchesin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
deleteTagspublic void deleteTags(DeleteTagsInput in) throws RestApiException - Specified by:
- deleteTagsin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
commitpublic CommitApi commit(String commit) throws RestApiException Description copied from interface:ProjectApiLookup a commit by itsObjectIdstring.- Specified by:
- commitin interface- ProjectApi
- Parameters:
- commit- the- ObjectIdstring.
- Returns:
- API for accessing the commit.
- Throws:
- RestApiException
 
 - 
dashboardpublic DashboardApi dashboard(String name) throws RestApiException Description copied from interface:ProjectApiLookup a dashboard by its name.- Specified by:
- dashboardin interface- ProjectApi
- Parameters:
- name- the name.
- Returns:
- API for accessing the dashboard.
- Throws:
- RestApiException
 
 - 
defaultDashboardpublic DashboardApi defaultDashboard() throws RestApiException Description copied from interface:ProjectApiGet the project's default dashboard.- Specified by:
- defaultDashboardin interface- ProjectApi
- Returns:
- API for accessing the dashboard.
- Throws:
- RestApiException
 
 - 
dashboardspublic ProjectApi.ListDashboardsRequest dashboards() throws RestApiException - Specified by:
- dashboardsin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
defaultDashboardpublic void defaultDashboard(String name) throws RestApiException Description copied from interface:ProjectApiSet the project's default dashboard.- Specified by:
- defaultDashboardin interface- ProjectApi
- Parameters:
- name- the dashboard to set as default.
- Throws:
- RestApiException
 
 - 
removeDefaultDashboardpublic void removeDefaultDashboard() throws RestApiExceptionDescription copied from interface:ProjectApiRemove the project's default dashboard.- Specified by:
- removeDefaultDashboardin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
headpublic String head() throws RestApiException Description copied from interface:ProjectApiGet the name of the branch to whichHEADpoints.- Specified by:
- headin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
headpublic void head(String head) throws RestApiException Description copied from interface:ProjectApiSet the project'sHEAD.- Specified by:
- headin interface- ProjectApi
- Parameters:
- head- the HEAD
- Throws:
- RestApiException
 
 - 
parentpublic String parent() throws RestApiException Description copied from interface:ProjectApiGet the name of the project's parent.- Specified by:
- parentin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
parentpublic void parent(String parent) throws RestApiException Description copied from interface:ProjectApiSet the project's parent.- Specified by:
- parentin interface- ProjectApi
- Parameters:
- parent- the parent
- Throws:
- RestApiException
 
 - 
indexpublic void index(boolean indexChildren) throws RestApiExceptionDescription copied from interface:ProjectApiReindex the project and children in caseindexChildrenis specified.- Specified by:
- indexin interface- ProjectApi
- Parameters:
- indexChildren- decides if children should be indexed recursively
- Throws:
- RestApiException
 
 - 
indexChangespublic void indexChanges() throws RestApiExceptionDescription copied from interface:ProjectApiReindexes all changes of the project.- Specified by:
- indexChangesin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
labelspublic ProjectApi.ListLabelsRequest labels() throws RestApiException - Specified by:
- labelsin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
labelpublic LabelApi label(String labelName) throws RestApiException - Specified by:
- labelin interface- ProjectApi
- Throws:
- RestApiException
 
 - 
labelspublic void labels(BatchLabelInput input) throws RestApiException Description copied from interface:ProjectApiAdds, updates and deletes label definitions in a batch.- Specified by:
- labelsin interface- ProjectApi
- Parameters:
- input- input that describes additions, updates and deletions of label definitions
- Throws:
- RestApiException
 
 
- 
 
-