Class RevisionApi.NotImplemented
java.lang.Object
com.google.gerrit.extensions.api.changes.RevisionApi.NotImplemented
- All Implemented Interfaces:
- RevisionApi
- Enclosing interface:
- RevisionApi
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.changes.RevisionApiRevisionApi.MergeListRequest, RevisionApi.NotImplemented
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionactions()applyFix(ApplyProvidedFixInput applyProvidedFixInput) Applies fix similar toapplyFixmethod.Applies the indicated fix by creating a new change edit or integrating the fix with the existing change edit.booleancomments()commit(boolean addLinks) voiddescription(String description) drafts()etag()files(int parentNum) getArchive(ArchiveFormat format) Retrieves the revision as an archive.getFixPreview(ApplyProvidedFixInput applyProvidedFixInput) getFixPreview(String fixId) patch()Returns patch of revision.queryFiles(String query) rebase(RebaseInput in) related()related(EnumSet<GetRelatedOption> options) review(ReviewInput in) reviewed()robotComment(String id) voidsetReviewed(String path, boolean reviewed) submit(SubmitInput in) com.google.common.collect.ListMultimap<String,ApprovalInfo> votes()Returns votes on the revision.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gerrit.extensions.api.changes.RevisionApifiles, rebase, submit
- 
Constructor Details- 
NotImplementedpublic NotImplemented()
 
- 
- 
Method Details- 
review- Specified by:
- reviewin interface- RevisionApi
- Throws:
- RestApiException
 
- 
submit- Specified by:
- submitin interface- RevisionApi
- Throws:
- RestApiException
 
- 
cherryPick- Specified by:
- cherryPickin interface- RevisionApi
- Throws:
- RestApiException
 
- 
cherryPickAsInfo- Specified by:
- cherryPickAsInfoin interface- RevisionApi
- Throws:
- RestApiException
 
- 
rebase- Specified by:
- rebasein interface- RevisionApi
- Throws:
- RestApiException
 
- 
rebaseAsInfo- Specified by:
- rebaseAsInfoin interface- RevisionApi
- Throws:
- RestApiException
 
- 
canRebase- Specified by:
- canRebasein interface- RevisionApi
- Throws:
- RestApiException
 
- 
reviewer- Specified by:
- reviewerin interface- RevisionApi
- Throws:
- RestApiException
 
- 
setReviewed- Specified by:
- setReviewedin interface- RevisionApi
- Throws:
- RestApiException
 
- 
reviewed- Specified by:
- reviewedin interface- RevisionApi
- Throws:
- RestApiException
 
- 
mergeable- Specified by:
- mergeablein interface- RevisionApi
- Throws:
- RestApiException
 
- 
mergeableOtherBranches- Specified by:
- mergeableOtherBranchesin interface- RevisionApi
- Throws:
- RestApiException
 
- 
files- Specified by:
- filesin interface- RevisionApi
- Throws:
- RestApiException
 
- 
files- Specified by:
- filesin interface- RevisionApi
- Throws:
- RestApiException
 
- 
queryFiles- Specified by:
- queryFilesin interface- RevisionApi
- Throws:
- RestApiException
 
- 
file- Specified by:
- filein interface- RevisionApi
 
- 
commit- Specified by:
- commitin interface- RevisionApi
- Throws:
- RestApiException
 
- 
comments- Specified by:
- commentsin interface- RevisionApi
- Throws:
- RestApiException
 
- 
robotComments- Specified by:
- robotCommentsin interface- RevisionApi
- Throws:
- RestApiException
 
- 
commentsAsList- Specified by:
- commentsAsListin interface- RevisionApi
- Throws:
- RestApiException
 
- 
draftsAsList- Specified by:
- draftsAsListin interface- RevisionApi
- Throws:
- RestApiException
 
- 
robotCommentsAsList- Specified by:
- robotCommentsAsListin interface- RevisionApi
- Throws:
- RestApiException
 
- 
portedComments- Specified by:
- portedCommentsin interface- RevisionApi
- Throws:
- RestApiException
 
- 
portedDrafts- Specified by:
- portedDraftsin interface- RevisionApi
- Throws:
- RestApiException
 
- 
applyFixDescription 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
 
- 
applyFixDescription copied from interface:RevisionApiApplies fix similar toapplyFixmethod. Instead of using a fix stored in the server, this applies the fix provided inApplyProvidedFixInput- Specified by:
- applyFixin interface- RevisionApi
- Parameters:
- applyProvidedFixInput- The fix(es) to apply to a new change edit.
- Throws:
- RestApiException- if the fix couldn't be applied.
 
- 
getFixPreview- Specified by:
- getFixPreviewin interface- RevisionApi
- Throws:
- RestApiException
 
- 
getFixPreviewpublic Map<String,DiffInfo> getFixPreview(ApplyProvidedFixInput applyProvidedFixInput) throws RestApiException - Specified by:
- getFixPreviewin interface- RevisionApi
- Throws:
- RestApiException
 
- 
drafts- Specified by:
- draftsin interface- RevisionApi
- Throws:
- RestApiException
 
- 
createDraft- Specified by:
- createDraftin interface- RevisionApi
- Throws:
- RestApiException
 
- 
draft- Specified by:
- draftin interface- RevisionApi
- Throws:
- RestApiException
 
- 
comment- Specified by:
- commentin interface- RevisionApi
- Throws:
- RestApiException
 
- 
robotComment- Specified by:
- robotCommentin interface- RevisionApi
- Throws:
- RestApiException
 
- 
patchDescription copied from interface:RevisionApiReturns patch of revision.- Specified by:
- patchin interface- RevisionApi
- Throws:
- RestApiException
 
- 
patch- Specified by:
- patchin interface- RevisionApi
- Throws:
- RestApiException
 
- 
actions- Specified by:
- actionsin interface- RevisionApi
- Throws:
- RestApiException
 
- 
submitType- Specified by:
- submitTypein interface- RevisionApi
- Throws:
- RestApiException
 
- 
testSubmitType- Specified by:
- testSubmitTypein interface- RevisionApi
- Throws:
- RestApiException
 
- 
testSubmitRule- Specified by:
- testSubmitRulein interface- RevisionApi
- Throws:
- RestApiException
 
- 
getMergeList- Specified by:
- getMergeListin interface- RevisionApi
- Throws:
- RestApiException
 
- 
votesDescription copied from interface:RevisionApiReturns votes on the revision.- Specified by:
- votesin interface- RevisionApi
- Throws:
- RestApiException
 
- 
description- Specified by:
- descriptionin interface- RevisionApi
- Throws:
- RestApiException
 
- 
description- Specified by:
- descriptionin interface- RevisionApi
- Throws:
- RestApiException
 
- 
etag- Specified by:
- etagin interface- RevisionApi
- Throws:
- RestApiException
 
- 
getArchiveDescription 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
 
 
-