Class ProjectApi.NotImplemented
java.lang.Object
com.google.gerrit.extensions.api.projects.ProjectApi.NotImplemented
- All Implemented Interfaces:
- ProjectApi
- Enclosing interface:
- ProjectApi
A default implementation which allows source compatibility when adding new methods to the
 interface.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.google.gerrit.extensions.api.projects.ProjectApiProjectApi.ListDashboardsRequest, ProjectApi.ListLabelsRequest, ProjectApi.ListRefsRequest<T extends RefInfo>, ProjectApi.ListSubmitRequirementsRequest, ProjectApi.NotImplemented
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaccess()accessChange(ProjectAccessInput input) Look up a branch by refname.branches()children()children(boolean recursive) children(int limit) Lookup a commit by itsObjectIdstring.commitsIn(Collection<String> commits, Collection<String> refs) config()config(ConfigInput in) create()create(ProjectInput in) Lookup a dashboard by its name.Get the project's default dashboard.voiddefaultDashboard(String name) Set the project's default dashboard.voidvoidvoidget()head()Get the name of the branch to whichHEADpoints.voidSet the project'sHEAD.voidindex(boolean indexChildren) Reindex the project and children in caseindexChildrenis specified.voidReindexes all changes of the project.labels()voidlabels(BatchLabelInput input) Adds, updates and deletes label definitions in a batch.labelsReview(BatchLabelInput input) Same asProjectApi.labels(BatchLabelInput), but creates a change with required updates.parent()Get the name of the project's parent.voidSet the project's parent.voidRemove the project's default dashboard.submitRequirement(String name) voidAdds, updates and deletes submit requirements definitions in a batch.Creates a change with required submit requirements updates.Look up a tag by refname.tags()
- 
Constructor Details- 
NotImplementedpublic NotImplemented()
 
- 
- 
Method Details- 
create- Specified by:
- createin interface- ProjectApi
- Throws:
- RestApiException
 
- 
create- Specified by:
- createin interface- ProjectApi
- Throws:
- RestApiException
 
- 
get- Specified by:
- getin interface- ProjectApi
- Throws:
- RestApiException
 
- 
description- Specified by:
- descriptionin interface- ProjectApi
- Throws:
- RestApiException
 
- 
access- Specified by:
- accessin interface- ProjectApi
- Throws:
- RestApiException
 
- 
access- Specified by:
- accessin interface- ProjectApi
- Throws:
- RestApiException
 
- 
accessChange- Specified by:
- accessChangein interface- ProjectApi
- Throws:
- RestApiException
 
- 
checkAccess- Specified by:
- checkAccessin interface- ProjectApi
- Throws:
- RestApiException
 
- 
check- Specified by:
- checkin interface- ProjectApi
- Throws:
- RestApiException
 
- 
config- Specified by:
- configin interface- ProjectApi
- Throws:
- RestApiException
 
- 
config- Specified by:
- configin interface- ProjectApi
- Throws:
- RestApiException
 
- 
configReview- Specified by:
- configReviewin interface- ProjectApi
- Throws:
- RestApiException
 
- 
commitsInpublic Map<String,Set<String>> commitsIn(Collection<String> commits, Collection<String> refs) throws RestApiException - Specified by:
- commitsInin interface- ProjectApi
- Throws:
- RestApiException
 
- 
description- Specified by:
- descriptionin interface- ProjectApi
- Throws:
- RestApiException
 
- 
branches- Specified by:
- branchesin interface- ProjectApi
 
- 
tags- Specified by:
- tagsin interface- ProjectApi
 
- 
children- Specified by:
- childrenin interface- ProjectApi
- Throws:
- RestApiException
 
- 
children- Specified by:
- childrenin interface- ProjectApi
- Throws:
- RestApiException
 
- 
children- Specified by:
- childrenin interface- ProjectApi
- Throws:
- RestApiException
 
- 
child- Specified by:
- childin interface- ProjectApi
- Throws:
- RestApiException
 
- 
branchDescription 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.
 
- 
tagDescription 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.
 
- 
deleteBranches- Specified by:
- deleteBranchesin interface- ProjectApi
- Throws:
- RestApiException
 
- 
deleteTags- Specified by:
- deleteTagsin interface- ProjectApi
- Throws:
- RestApiException
 
- 
commitDescription 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
 
- 
dashboardDescription 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
 
- 
defaultDashboardDescription copied from interface:ProjectApiGet the project's default dashboard.- Specified by:
- defaultDashboardin interface- ProjectApi
- Returns:
- API for accessing the dashboard.
- Throws:
- RestApiException
 
- 
dashboards- Specified by:
- dashboardsin interface- ProjectApi
- Throws:
- RestApiException
 
- 
defaultDashboardDescription copied from interface:ProjectApiSet the project's default dashboard.- Specified by:
- defaultDashboardin interface- ProjectApi
- Parameters:
- name- the dashboard to set as default.
- Throws:
- RestApiException
 
- 
removeDefaultDashboardDescription copied from interface:ProjectApiRemove the project's default dashboard.- Specified by:
- removeDefaultDashboardin interface- ProjectApi
- Throws:
- RestApiException
 
- 
headDescription copied from interface:ProjectApiGet the name of the branch to whichHEADpoints.- Specified by:
- headin interface- ProjectApi
- Throws:
- RestApiException
 
- 
headDescription copied from interface:ProjectApiSet the project'sHEAD.- Specified by:
- headin interface- ProjectApi
- Parameters:
- head- the HEAD
- Throws:
- RestApiException
 
- 
parentDescription copied from interface:ProjectApiGet the name of the project's parent.- Specified by:
- parentin interface- ProjectApi
- Throws:
- RestApiException
 
- 
parentDescription copied from interface:ProjectApiSet the project's parent.- Specified by:
- parentin interface- ProjectApi
- Parameters:
- parent- the parent
- Throws:
- RestApiException
 
- 
indexDescription 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
 
- 
indexChangesDescription copied from interface:ProjectApiReindexes all changes of the project.- Specified by:
- indexChangesin interface- ProjectApi
- Throws:
- RestApiException
 
- 
labels- Specified by:
- labelsin interface- ProjectApi
- Throws:
- RestApiException
 
- 
submitRequirements- Specified by:
- submitRequirementsin interface- ProjectApi
- Throws:
- RestApiException
 
- 
label- Specified by:
- labelin interface- ProjectApi
- Throws:
- RestApiException
 
- 
submitRequirement- Specified by:
- submitRequirementin interface- ProjectApi
- Throws:
- RestApiException
 
- 
labelsDescription 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
 
- 
labelsReviewDescription copied from interface:ProjectApiSame asProjectApi.labels(BatchLabelInput), but creates a change with required updates.- Specified by:
- labelsReviewin interface- ProjectApi
- Throws:
- RestApiException
 
- 
submitRequirementsDescription copied from interface:ProjectApiAdds, updates and deletes submit requirements definitions in a batch.- Specified by:
- submitRequirementsin interface- ProjectApi
- Parameters:
- input- input that describes additions, updates and deletions of submit requirements
- Throws:
- RestApiException
 
- 
submitRequirementsReviewpublic ChangeInfo submitRequirementsReview(BatchSubmitRequirementInput input) throws RestApiException Description copied from interface:ProjectApiCreates a change with required submit requirements updates.See ProjectApi.submitRequirements(BatchSubmitRequirementInput)for details- Specified by:
- submitRequirementsReviewin interface- ProjectApi
- Throws:
- RestApiException
 
 
-