Class RevisionApi.NotImplemented
- java.lang.Object
- 
- com.google.gerrit.extensions.api.changes.RevisionApi.NotImplemented
 
- 
- All Implemented Interfaces:
- RevisionApi
 - Enclosing interface:
- RevisionApi
 
 public static class RevisionApi.NotImplemented extends Object implements RevisionApi 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.changes.RevisionApiRevisionApi.MergeListRequest, RevisionApi.NotImplemented
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.google.gerrit.extensions.api.changes.RevisionApifiles, rebase, submit
 
- 
 
- 
- 
- 
Method Detail- 
reviewpublic ReviewResult review(ReviewInput in) throws RestApiException - Specified by:
- reviewin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
submitpublic ChangeInfo submit(SubmitInput in) throws RestApiException - Specified by:
- submitin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
cherryPickpublic ChangeApi cherryPick(CherryPickInput in) throws RestApiException - Specified by:
- cherryPickin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
cherryPickAsInfopublic ChangeInfo cherryPickAsInfo(CherryPickInput in) throws RestApiException - Specified by:
- cherryPickAsInfoin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
rebasepublic ChangeApi rebase(RebaseInput in) throws RestApiException - Specified by:
- rebasein interface- RevisionApi
- Throws:
- RestApiException
 
 - 
rebaseAsInfopublic ChangeInfo rebaseAsInfo(RebaseInput in) throws RestApiException - Specified by:
- rebaseAsInfoin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
canRebasepublic boolean canRebase() throws RestApiException- Specified by:
- canRebasein interface- RevisionApi
- Throws:
- RestApiException
 
 - 
reviewerpublic RevisionReviewerApi reviewer(String id) throws RestApiException - Specified by:
- reviewerin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
setReviewedpublic void setReviewed(String path, boolean reviewed) throws RestApiException - Specified by:
- setReviewedin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
reviewedpublic Set<String> reviewed() throws RestApiException - Specified by:
- reviewedin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
mergeablepublic MergeableInfo mergeable() throws RestApiException - Specified by:
- mergeablein interface- RevisionApi
- Throws:
- RestApiException
 
 - 
mergeableOtherBranchespublic MergeableInfo mergeableOtherBranches() throws RestApiException - Specified by:
- mergeableOtherBranchesin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
filespublic Map<String,FileInfo> files(String base) throws RestApiException - Specified by:
- filesin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
filespublic Map<String,FileInfo> files(int parentNum) throws RestApiException - Specified by:
- filesin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
queryFilespublic List<String> queryFiles(String query) throws RestApiException - Specified by:
- queryFilesin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
filepublic FileApi file(String path) - Specified by:
- filein interface- RevisionApi
 
 - 
commitpublic CommitInfo commit(boolean addLinks) throws RestApiException - Specified by:
- commitin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
commentspublic Map<String,List<CommentInfo>> comments() throws RestApiException - Specified by:
- commentsin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
robotCommentspublic Map<String,List<RobotCommentInfo>> robotComments() throws RestApiException - Specified by:
- robotCommentsin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
commentsAsListpublic List<CommentInfo> commentsAsList() throws RestApiException - Specified by:
- commentsAsListin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
draftsAsListpublic List<CommentInfo> draftsAsList() throws RestApiException - Specified by:
- draftsAsListin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
robotCommentsAsListpublic List<RobotCommentInfo> robotCommentsAsList() throws RestApiException - Specified by:
- robotCommentsAsListin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
portedCommentspublic Map<String,List<CommentInfo>> portedComments() throws RestApiException - Specified by:
- portedCommentsin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
portedDraftspublic Map<String,List<CommentInfo>> portedDrafts() throws RestApiException - Specified by:
- portedDraftsin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
applyFixpublic EditInfo applyFix(String fixId) throws RestApiException Description copied from interface:RevisionApiApplies the indicated fix by creating a new change edit or integrating the fix with the existing change edit. If no change edit exists before this call, the fix must refer to the current patch set. If a change edit exists, the fix must refer to the patch set on which the change edit is based.- Specified by:
- applyFixin interface- RevisionApi
- Parameters:
- fixId- the ID of the fix which should be applied
- Throws:
- RestApiException- if the fix couldn't be applied
 
 - 
getFixPreviewpublic Map<String,DiffInfo> getFixPreview(String fixId) throws RestApiException - Specified by:
- getFixPreviewin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
draftspublic Map<String,List<CommentInfo>> drafts() throws RestApiException - Specified by:
- draftsin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
createDraftpublic DraftApi createDraft(DraftInput in) throws RestApiException - Specified by:
- createDraftin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
draftpublic DraftApi draft(String id) throws RestApiException - Specified by:
- draftin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
commentpublic CommentApi comment(String id) throws RestApiException - Specified by:
- commentin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
robotCommentpublic RobotCommentApi robotComment(String id) throws RestApiException - Specified by:
- robotCommentin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
patchpublic BinaryResult patch() throws RestApiException Description copied from interface:RevisionApiReturns patch of revision.- Specified by:
- patchin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
patchpublic BinaryResult patch(String path) throws RestApiException - Specified by:
- patchin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
actionspublic Map<String,ActionInfo> actions() throws RestApiException - Specified by:
- actionsin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
submitTypepublic SubmitType submitType() throws RestApiException - Specified by:
- submitTypein interface- RevisionApi
- Throws:
- RestApiException
 
 - 
testSubmitTypepublic SubmitType testSubmitType(TestSubmitRuleInput in) throws RestApiException - Specified by:
- testSubmitTypein interface- RevisionApi
- Throws:
- RestApiException
 
 - 
testSubmitRulepublic TestSubmitRuleInfo testSubmitRule(TestSubmitRuleInput in) throws RestApiException - Specified by:
- testSubmitRulein interface- RevisionApi
- Throws:
- RestApiException
 
 - 
getMergeListpublic RevisionApi.MergeListRequest getMergeList() throws RestApiException - Specified by:
- getMergeListin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
relatedpublic RelatedChangesInfo related() throws RestApiException - Specified by:
- relatedin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
votespublic com.google.common.collect.ListMultimap<String,ApprovalInfo> votes() throws RestApiException Description copied from interface:RevisionApiReturns votes on the revision.- Specified by:
- votesin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
descriptionpublic void description(String description) throws RestApiException - Specified by:
- descriptionin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
descriptionpublic String description() throws RestApiException - Specified by:
- descriptionin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
etagpublic String etag() throws RestApiException - Specified by:
- etagin interface- RevisionApi
- Throws:
- RestApiException
 
 - 
getArchivepublic BinaryResult getArchive(ArchiveFormat format) throws RestApiException Description copied from interface:RevisionApiRetrieves the revision as an archive.- Specified by:
- getArchivein interface- RevisionApi
- Parameters:
- format- the format of the archive
- Returns:
- the archive as BinaryResult
- Throws:
- RestApiException
 
 
- 
 
-