Class ChangeApi.NotImplemented
java.lang.Object
com.google.gerrit.extensions.api.changes.ChangeApi.NotImplemented
- All Implemented Interfaces:
- ChangeApi
- Enclosing interface:
- ChangeApi
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.ChangeApiChangeApi.CheckSubmitRequirementRequest, ChangeApi.CommentsRequest, ChangeApi.DraftsRequest, ChangeApi.NotImplemented, ChangeApi.SuggestedReviewersRequest
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidabandon(AbandonInput in) Adds a user to the attention set.Manage the attention set.check()Returns the result of evaluating theSubmitRequirementInputinput on the change.comments()Deprecated.Deprecated.Get aChangeApi.CommentsRequestentity that can be used to retrieve published comments.Create a merge patch set for the change.voiddelete()Deletes a change.drafts()Get all draft comments for the current user on a change.Get all draft comments for the current user on a change as a list.Get aChangeApi.DraftsRequestentity that can be used to retrieve draft comments.edit()Provides access to an API regarding the change edit of this change.get(EnumSet<ListChangesOption> options, com.google.common.collect.ImmutableListMultimap<String, String> pluginOptions) Gets the custom keyed values on a change.Get hashtags on a change.id()voidindex()Look up a change message of a change by its id.messages()Get all messages of a change with detailed account info.metaDiff(String oldMetaRevId, String newMetaRevId, EnumSet<ListChangesOption> options, com.google.common.collect.ImmutableListMultimap<String, String> pluginOptions) Gets the diff between a change's metadata with the two given refs.voidCheck if this change is a pure revert of the change stored in revertOf.pureRevert(String claimedOriginal) Check if this change is a pure revert of claimedOriginal (SHA1 in 40 digit hex).voidrebase(RebaseInput in) Rebase the current revision of a change.Rebase the current revisions of a change's chain.voidrestore(RestoreInput in) revert(RevertInput in) Create a new change that reverts this change.Look up the reviewer of the change.Retrieve reviewers (ReviewerState.REVIEWERandReviewerState.CC) on the change.Look up a revision of a change by commit SHA-1 or other supported revision string.Get all robot comments on a change.voidSet custom keyed values on a changevoidsetHashtags(HashtagsInput input) Set hashtags on a changevoidCreate a new patch set with a new commit message.voidsetPrivate(boolean value, String message) voidsetReadyForReview(String message) voidsetWorkInProgress(String message) submittedTogether(EnumSet<SubmittedTogetherOption> options) suggestReviewers(String query) topic()voidMethods 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.ChangeApiabandon, addReviewer, current, get, get, get, get, get, info, metaDiff, metaDiff, metaDiff, move, rebase, rebaseChain, restore, revert, revertSubmission, revision, setMessage, setPrivate, setReadyForReview, setWorkInProgress, suggestCcs
- 
Constructor Details- 
NotImplementedpublic NotImplemented()
 
- 
- 
Method Details- 
id
- 
reviewerDescription copied from interface:ChangeApiLook up the reviewer of the change.- Specified by:
- reviewerin interface- ChangeApi
- Parameters:
- id- ID of the account, can be a string of the format "Full Name <[email protected]>", just the email address, a full name if it is unique, an account ID, a user name or 'self' for the calling user.
- Returns:
- API for accessing the reviewer.
- Throws:
- RestApiException- if id is not account ID or is a user that isn't known to be a reviewer for this change.
 
- 
revisionDescription copied from interface:ChangeApiLook up a revision of a change by commit SHA-1 or other supported revision string.- Specified by:
- revisionin interface- ChangeApi
- Throws:
- RestApiException
- See Also:
 
- 
abandon- Specified by:
- abandonin interface- ChangeApi
- Throws:
- RestApiException
 
- 
restore- Specified by:
- restorein interface- ChangeApi
- Throws:
- RestApiException
 
- 
move- Specified by:
- movein interface- ChangeApi
- Throws:
- RestApiException
 
- 
setPrivate- Specified by:
- setPrivatein interface- ChangeApi
- Throws:
- RestApiException
 
- 
setWorkInProgress- Specified by:
- setWorkInProgressin interface- ChangeApi
- Throws:
- RestApiException
 
- 
setReadyForReview- Specified by:
- setReadyForReviewin interface- ChangeApi
- Throws:
- RestApiException
 
- 
revertDescription copied from interface:ChangeApiCreate a new change that reverts this change.- Specified by:
- revertin interface- ChangeApi
- Throws:
- RestApiException
 
- 
revertSubmission- Specified by:
- revertSubmissionin interface- ChangeApi
- Throws:
- RestApiException
 
- 
rebaseDescription copied from interface:ChangeApiRebase the current revision of a change.- Specified by:
- rebasein interface- ChangeApi
- Throws:
- RestApiException
 
- 
rebaseChainDescription copied from interface:ChangeApiRebase the current revisions of a change's chain.- Specified by:
- rebaseChainin interface- ChangeApi
- Returns:
- a RebaseChainInfocontains theChangeInfodata for the rebased the chain
- Throws:
- RestApiException
 
- 
deleteDescription copied from interface:ChangeApiDeletes a change.- Specified by:
- deletein interface- ChangeApi
- Throws:
- RestApiException
 
- 
topic- Specified by:
- topicin interface- ChangeApi
- Throws:
- RestApiException
 
- 
topic- Specified by:
- topicin interface- ChangeApi
- Throws:
- RestApiException
 
- 
includedIn- Specified by:
- includedInin interface- ChangeApi
- Throws:
- RestApiException
 
- 
addReviewer- Specified by:
- addReviewerin interface- ChangeApi
- Throws:
- RestApiException
 
- 
suggestReviewers- Specified by:
- suggestReviewersin interface- ChangeApi
- Throws:
- RestApiException
 
- 
suggestReviewers- Specified by:
- suggestReviewersin interface- ChangeApi
- Throws:
- RestApiException
 
- 
reviewersDescription copied from interface:ChangeApiRetrieve reviewers (ReviewerState.REVIEWERandReviewerState.CC) on the change.- Specified by:
- reviewersin interface- ChangeApi
- Throws:
- RestApiException
 
- 
getpublic ChangeInfo get(EnumSet<ListChangesOption> options, com.google.common.collect.ImmutableListMultimap<String, String> pluginOptions) throws RestApiException- Specified by:
- getin interface- ChangeApi
- Throws:
- RestApiException
 
- 
metaDiffpublic ChangeInfoDifference metaDiff(String oldMetaRevId, String newMetaRevId, EnumSet<ListChangesOption> options, com.google.common.collect.ImmutableListMultimap<String, String> pluginOptions) throws RestApiExceptionDescription copied from interface:ChangeApiGets the diff between a change's metadata with the two given refs.- Specified by:
- metaDiffin interface- ChangeApi
- Parameters:
- oldMetaRevId- the SHA-1 of the 'before' metadata diffed against- newMetaRevId
- newMetaRevId- the SHA-1 of the 'after' metadata diffed against- oldMetaRevId
- Throws:
- RestApiException
 
- 
getMessage- Specified by:
- getMessagein interface- ChangeApi
- Throws:
- RestApiException
 
- 
setMessageDescription copied from interface:ChangeApiCreate a new patch set with a new commit message.- Specified by:
- setMessagein interface- ChangeApi
- Throws:
- RestApiException
 
- 
editDescription copied from interface:ChangeApiProvides access to an API regarding the change edit of this change.- Specified by:
- editin interface- ChangeApi
- Returns:
- a ChangeEditApifor the change edit of this change
- Throws:
- RestApiException- if the API isn't accessible
 
- 
setHashtagsDescription copied from interface:ChangeApiSet hashtags on a change- Specified by:
- setHashtagsin interface- ChangeApi
- Throws:
- RestApiException
 
- 
getHashtagsDescription copied from interface:ChangeApiGet hashtags on a change.- Specified by:
- getHashtagsin interface- ChangeApi
- Returns:
- hashtags
- Throws:
- RestApiException
 
- 
setCustomKeyedValuesDescription copied from interface:ChangeApiSet custom keyed values on a change- Specified by:
- setCustomKeyedValuesin interface- ChangeApi
- Throws:
- RestApiException
 
- 
getCustomKeyedValuespublic com.google.common.collect.ImmutableMap<String,String> getCustomKeyedValues() throws RestApiExceptionDescription copied from interface:ChangeApiGets the custom keyed values on a change.- Specified by:
- getCustomKeyedValuesin interface- ChangeApi
- Returns:
- customKeyedValues
- Throws:
- RestApiException
 
- 
attentionDescription copied from interface:ChangeApiManage the attention set.- Specified by:
- attentionin interface- ChangeApi
- Parameters:
- id- The account identifier.
- Throws:
- RestApiException
 
- 
addToAttentionSetDescription copied from interface:ChangeApiAdds a user to the attention set.- Specified by:
- addToAttentionSetin interface- ChangeApi
- Throws:
- RestApiException
 
- 
commentsDeprecated.Description copied from interface:ChangeApiGet all published comments on a change.- Specified by:
- commentsin interface- ChangeApi
- Returns:
- comments in a map keyed by path; comments have the revisionfield set to indicate their patch set.
- Throws:
- RestApiException
 
- 
commentsAsListDeprecated.Description copied from interface:ChangeApiGet all published comments on a change as a list.- Specified by:
- commentsAsListin interface- ChangeApi
- Returns:
- comments as a list; comments have the revisionfield set to indicate their patch set.
- Throws:
- RestApiException
 
- 
commentsRequestDescription copied from interface:ChangeApiGet aChangeApi.CommentsRequestentity that can be used to retrieve published comments.- Specified by:
- commentsRequestin interface- ChangeApi
- Returns:
- A ChangeApi.CommentsRequestentity that can be used to retrieve the comments using theChangeApi.CommentsRequest.get()orChangeApi.CommentsRequest.getAsList().
- Throws:
- RestApiException
 
- 
robotCommentsDescription copied from interface:ChangeApiGet all robot comments on a change.- Specified by:
- robotCommentsin interface- ChangeApi
- Returns:
- robot comments in a map keyed by path; robot comments have the revisionfield set to indicate their patch set.
- Throws:
- RestApiException
 
- 
draftsDescription copied from interface:ChangeApiGet all draft comments for the current user on a change.- Specified by:
- draftsin interface- ChangeApi
- Returns:
- drafts in a map keyed by path; comments have the revisionfield set to indicate their patch set.
- Throws:
- RestApiException
 
- 
draftsAsListDescription copied from interface:ChangeApiGet all draft comments for the current user on a change as a list.- Specified by:
- draftsAsListin interface- ChangeApi
- Returns:
- drafts as a list; comments have the revisionfield set to indicate their patch set.
- Throws:
- RestApiException
 
- 
draftsRequestDescription copied from interface:ChangeApiGet aChangeApi.DraftsRequestentity that can be used to retrieve draft comments.- Specified by:
- draftsRequestin interface- ChangeApi
- Returns:
- A ChangeApi.DraftsRequestentity that can be used to retrieve the draft comments usingChangeApi.CommentsRequest.get()orChangeApi.CommentsRequest.getAsList().
- Throws:
- RestApiException
 
- 
check- Specified by:
- checkin interface- ChangeApi
- Throws:
- RestApiException
 
- 
check- Specified by:
- checkin interface- ChangeApi
- Throws:
- RestApiException
 
- 
checkSubmitRequirementRequestpublic ChangeApi.CheckSubmitRequirementRequest checkSubmitRequirementRequest() throws RestApiException- Specified by:
- checkSubmitRequirementRequestin interface- ChangeApi
- Throws:
- RestApiException
 
- 
checkSubmitRequirementpublic SubmitRequirementResultInfo checkSubmitRequirement(SubmitRequirementInput input) throws RestApiException Description copied from interface:ChangeApiReturns the result of evaluating theSubmitRequirementInputinput on the change.- Specified by:
- checkSubmitRequirementin interface- ChangeApi
- Throws:
- RestApiException
 
- 
index- Specified by:
- indexin interface- ChangeApi
- Throws:
- RestApiException
 
- 
submittedTogether- Specified by:
- submittedTogetherin interface- ChangeApi
- Throws:
- RestApiException
 
- 
submittedTogetherpublic SubmittedTogetherInfo submittedTogether(EnumSet<SubmittedTogetherOption> options) throws RestApiException - Specified by:
- submittedTogetherin interface- ChangeApi
- Throws:
- RestApiException
 
- 
submittedTogetherpublic SubmittedTogetherInfo submittedTogether(EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b) throws RestApiException - Specified by:
- submittedTogetherin interface- ChangeApi
- Throws:
- RestApiException
 
- 
createMergePatchSetDescription copied from interface:ChangeApiCreate a merge patch set for the change.- Specified by:
- createMergePatchSetin interface- ChangeApi
- Throws:
- RestApiException
 
- 
applyPatch- Specified by:
- applyPatchin interface- ChangeApi
- Throws:
- RestApiException
 
- 
pureRevertDescription copied from interface:ChangeApiCheck if this change is a pure revert of the change stored in revertOf.- Specified by:
- pureRevertin interface- ChangeApi
- Throws:
- RestApiException
 
- 
pureRevertDescription copied from interface:ChangeApiCheck if this change is a pure revert of claimedOriginal (SHA1 in 40 digit hex).- Specified by:
- pureRevertin interface- ChangeApi
- Throws:
- RestApiException
 
- 
messagesDescription copied from interface:ChangeApiGet all messages of a change with detailed account info.- Specified by:
- messagesin interface- ChangeApi
- Returns:
- a list of messages sorted by their creation time.
- Throws:
- RestApiException
 
- 
messageDescription copied from interface:ChangeApiLook up a change message of a change by its id.- Specified by:
- messagein interface- ChangeApi
- Parameters:
- id- the id of the change message. In NoteDb, this id is the- ObjectIdof a commit on the change meta branch.
- Returns:
- API for accessing a change message.
- Throws:
- RestApiException- if the id is invalid.
 
 
-