Interface RevisionApi
- 
- All Known Implementing Classes:
- RevisionApi.NotImplemented
 
 public interface RevisionApi
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classRevisionApi.MergeListRequeststatic classRevisionApi.NotImplementedA default implementation which allows source compatibility when adding new methods to the interface.
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
descriptionString description() throws RestApiException - Throws:
- RestApiException
 
 - 
descriptionvoid description(String description) throws RestApiException - Throws:
- RestApiException
 
 - 
reviewReviewResult review(ReviewInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
submitdefault ChangeInfo submit() throws RestApiException - Throws:
- RestApiException
 
 - 
submitChangeInfo submit(SubmitInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
cherryPickChangeApi cherryPick(CherryPickInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
cherryPickAsInfoChangeInfo cherryPickAsInfo(CherryPickInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
rebasedefault ChangeApi rebase() throws RestApiException - Throws:
- RestApiException
 
 - 
rebaseChangeApi rebase(RebaseInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
rebaseAsInfoChangeInfo rebaseAsInfo(RebaseInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
canRebaseboolean canRebase() throws RestApiException- Throws:
- RestApiException
 
 - 
reviewerRevisionReviewerApi reviewer(String id) throws RestApiException - Throws:
- RestApiException
 
 - 
setReviewedvoid setReviewed(String path, boolean reviewed) throws RestApiException - Throws:
- RestApiException
 
 - 
reviewedSet<String> reviewed() throws RestApiException - Throws:
- RestApiException
 
 - 
filesdefault Map<String,FileInfo> files() throws RestApiException - Throws:
- RestApiException
 
 - 
filesMap<String,FileInfo> files(String base) throws RestApiException - Throws:
- RestApiException
 
 - 
filesMap<String,FileInfo> files(int parentNum) throws RestApiException - Throws:
- RestApiException
 
 - 
queryFilesList<String> queryFiles(String query) throws RestApiException - Throws:
- RestApiException
 
 - 
commitCommitInfo commit(boolean addLinks) throws RestApiException - Throws:
- RestApiException
 
 - 
mergeableMergeableInfo mergeable() throws RestApiException - Throws:
- RestApiException
 
 - 
mergeableOtherBranchesMergeableInfo mergeableOtherBranches() throws RestApiException - Throws:
- RestApiException
 
 - 
commentsMap<String,List<CommentInfo>> comments() throws RestApiException - Throws:
- RestApiException
 
 - 
robotCommentsMap<String,List<RobotCommentInfo>> robotComments() throws RestApiException - Throws:
- RestApiException
 
 - 
draftsMap<String,List<CommentInfo>> drafts() throws RestApiException - Throws:
- RestApiException
 
 - 
commentsAsListList<CommentInfo> commentsAsList() throws RestApiException - Throws:
- RestApiException
 
 - 
draftsAsListList<CommentInfo> draftsAsList() throws RestApiException - Throws:
- RestApiException
 
 - 
robotCommentsAsListList<RobotCommentInfo> robotCommentsAsList() throws RestApiException - Throws:
- RestApiException
 
 - 
portedCommentsMap<String,List<CommentInfo>> portedComments() throws RestApiException - Throws:
- RestApiException
 
 - 
portedDraftsMap<String,List<CommentInfo>> portedDrafts() throws RestApiException - Throws:
- RestApiException
 
 - 
applyFixEditInfo applyFix(String fixId) throws RestApiException Applies 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.- Parameters:
- fixId- the ID of the fix which should be applied
- Throws:
- RestApiException- if the fix couldn't be applied
 
 - 
getFixPreviewMap<String,DiffInfo> getFixPreview(String fixId) throws RestApiException - Throws:
- RestApiException
 
 - 
createDraftDraftApi createDraft(DraftInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
draftDraftApi draft(String id) throws RestApiException - Throws:
- RestApiException
 
 - 
commentCommentApi comment(String id) throws RestApiException - Throws:
- RestApiException
 
 - 
robotCommentRobotCommentApi robotComment(String id) throws RestApiException - Throws:
- RestApiException
 
 - 
etagString etag() throws RestApiException - Throws:
- RestApiException
 
 - 
patchBinaryResult patch() throws RestApiException Returns patch of revision.- Throws:
- RestApiException
 
 - 
patchBinaryResult patch(String path) throws RestApiException - Throws:
- RestApiException
 
 - 
actionsMap<String,ActionInfo> actions() throws RestApiException - Throws:
- RestApiException
 
 - 
submitTypeSubmitType submitType() throws RestApiException - Throws:
- RestApiException
 
 - 
testSubmitTypeSubmitType testSubmitType(TestSubmitRuleInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
testSubmitRuleTestSubmitRuleInfo testSubmitRule(TestSubmitRuleInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
getMergeListRevisionApi.MergeListRequest getMergeList() throws RestApiException - Throws:
- RestApiException
 
 - 
relatedRelatedChangesInfo related() throws RestApiException - Throws:
- RestApiException
 
 - 
votescom.google.common.collect.ListMultimap<String,ApprovalInfo> votes() throws RestApiException Returns votes on the revision.- Throws:
- RestApiException
 
 - 
getArchiveBinaryResult getArchive(ArchiveFormat format) throws RestApiException Retrieves the revision as an archive.- Parameters:
- format- the format of the archive
- Returns:
- the archive as BinaryResult
- Throws:
- RestApiException
 
 
- 
 
-