Class ChangeApi.NotImplemented
- java.lang.Object
- 
- com.google.gerrit.extensions.api.changes.ChangeApi.NotImplemented
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.changes.ChangeApiChangeApi.CommentsRequest, ChangeApi.DraftsRequest, ChangeApi.NotImplemented, ChangeApi.SuggestedReviewersRequest
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidabandon(AbandonInput in)AddReviewerResultaddReviewer(AddReviewerInput in)AccountInfoaddToAttentionSet(AttentionSetInput input)Adds a user to the attention set.AttentionSetApiattention(String id)Manage the attention set.ChangeInfocheck()ChangeInfocheck(FixInput fix)Map<String,List<CommentInfo>>comments()Deprecated.List<CommentInfo>commentsAsList()Deprecated.ChangeApi.CommentsRequestcommentsRequest()Get aChangeApi.CommentsRequestentity that can be used to retrieve published comments.ChangeInfocreateMergePatchSet(MergePatchSetInput in)Create a merge patch set for the change.voiddelete()Deletes a change.AccountInfodeleteAssignee()Delete the assignee of a change.Map<String,List<CommentInfo>>drafts()Get all draft comments for the current user on a change.List<CommentInfo>draftsAsList()Get all draft comments for the current user on a change as a list.ChangeApi.DraftsRequestdraftsRequest()Get aChangeApi.DraftsRequestentity that can be used to retrieve draft comments.ChangeEditApiedit()Provides access to an API regarding the change edit of this change.ChangeInfoget(EnumSet<ListChangesOption> options, com.google.common.collect.ImmutableListMultimap<String,String> pluginOptions)AccountInfogetAssignee()Get the assignee of a change.Set<String>getHashtags()Get hashtags on a change.List<AccountInfo>getPastAssignees()Get all past assignees.Stringid()voidignore(boolean ignore)Ignore or un-ignore this change.booleanignored()Check if this change is ignored.IncludedInInfoincludedIn()voidindex()voidmarkAsReviewed(boolean reviewed)Mark this change as reviewed/unreviewed.ChangeMessageApimessage(String id)Look up a change message of a change by its id.List<ChangeMessageInfo>messages()Get all messages of a change with detailed account info.ChangeInfoDifferencemetaDiff(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.voidmove(MoveInput in)PureRevertInfopureRevert()Check if this change is a pure revert of the change stored in revertOf.PureRevertInfopureRevert(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.voidrestore(RestoreInput in)ChangeApirevert(RevertInput in)Create a new change that reverts this change.RevertSubmissionInforevertSubmission(RevertInput in)ReviewerApireviewer(String id)Look up the reviewer of the change.List<ReviewerInfo>reviewers()Retrieve reviewers (ReviewerState.REVIEWERandReviewerState.CC) on the change.RevisionApirevision(String id)Look up a revision of a change by commit SHA-1 or other supported revision string.Map<String,List<RobotCommentInfo>>robotComments()Get all robot comments on a change.AccountInfosetAssignee(AssigneeInput input)Set the assignee of a change.voidsetHashtags(HashtagsInput input)Set hashtags on a changevoidsetMessage(CommitMessageInput in)Create a new patch set with a new commit message.voidsetPrivate(boolean value, String message)voidsetReadyForReview(String message)voidsetWorkInProgress(String message)List<ChangeInfo>submittedTogether()SubmittedTogetherInfosubmittedTogether(EnumSet<SubmittedTogetherOption> options)SubmittedTogetherInfosubmittedTogether(EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b)ChangeApi.SuggestedReviewersRequestsuggestReviewers()ChangeApi.SuggestedReviewersRequestsuggestReviewers(String query)Stringtopic()voidtopic(String topic)- 
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.ChangeApiabandon, addReviewer, current, get, get, get, get, get, info, metaDiff, metaDiff, metaDiff, move, rebase, restore, revert, revertSubmission, revision, setMessage, setPrivate, setReadyForReview, setWorkInProgress, suggestCcs
 
- 
 
- 
- 
- 
Method Detail- 
reviewerpublic ReviewerApi reviewer(String id) throws RestApiException Description 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.
 
 - 
revisionpublic RevisionApi revision(String id) throws RestApiException Description 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:
- ChangeApi.current()
 
 - 
abandonpublic void abandon(AbandonInput in) throws RestApiException - Specified by:
- abandonin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
restorepublic void restore(RestoreInput in) throws RestApiException - Specified by:
- restorein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
movepublic void move(MoveInput in) throws RestApiException - Specified by:
- movein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
setPrivatepublic void setPrivate(boolean value, String message) throws RestApiException- Specified by:
- setPrivatein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
setWorkInProgresspublic void setWorkInProgress(String message) throws RestApiException - Specified by:
- setWorkInProgressin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
setReadyForReviewpublic void setReadyForReview(String message) throws RestApiException - Specified by:
- setReadyForReviewin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
revertpublic ChangeApi revert(RevertInput in) throws RestApiException Description copied from interface:ChangeApiCreate a new change that reverts this change.- Specified by:
- revertin interface- ChangeApi
- Throws:
- RestApiException
- See Also:
- Changes.id(int)
 
 - 
revertSubmissionpublic RevertSubmissionInfo revertSubmission(RevertInput in) throws RestApiException - Specified by:
- revertSubmissionin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
rebasepublic void rebase(RebaseInput in) throws RestApiException Description copied from interface:ChangeApiRebase the current revision of a change.- Specified by:
- rebasein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
deletepublic void delete() throws RestApiExceptionDescription copied from interface:ChangeApiDeletes a change.- Specified by:
- deletein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
topicpublic String topic() throws RestApiException - Specified by:
- topicin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
topicpublic void topic(String topic) throws RestApiException - Specified by:
- topicin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
includedInpublic IncludedInInfo includedIn() throws RestApiException - Specified by:
- includedInin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
addReviewerpublic AddReviewerResult addReviewer(AddReviewerInput in) throws RestApiException - Specified by:
- addReviewerin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
suggestReviewerspublic ChangeApi.SuggestedReviewersRequest suggestReviewers() throws RestApiException - Specified by:
- suggestReviewersin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
suggestReviewerspublic ChangeApi.SuggestedReviewersRequest suggestReviewers(String query) throws RestApiException - Specified by:
- suggestReviewersin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
reviewerspublic List<ReviewerInfo> reviewers() throws RestApiException Description 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 RestApiException Description 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
 
 - 
setMessagepublic void setMessage(CommitMessageInput in) throws RestApiException Description copied from interface:ChangeApiCreate a new patch set with a new commit message.- Specified by:
- setMessagein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
editpublic ChangeEditApi edit() throws RestApiException Description 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
 
 - 
setHashtagspublic void setHashtags(HashtagsInput input) throws RestApiException Description copied from interface:ChangeApiSet hashtags on a change- Specified by:
- setHashtagsin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
getHashtagspublic Set<String> getHashtags() throws RestApiException Description copied from interface:ChangeApiGet hashtags on a change.- Specified by:
- getHashtagsin interface- ChangeApi
- Returns:
- hashtags
- Throws:
- RestApiException
 
 - 
attentionpublic AttentionSetApi attention(String id) throws RestApiException Description copied from interface:ChangeApiManage the attention set.- Specified by:
- attentionin interface- ChangeApi
- Parameters:
- id- The account identifier.
- Throws:
- RestApiException
 
 - 
addToAttentionSetpublic AccountInfo addToAttentionSet(AttentionSetInput input) throws RestApiException Description copied from interface:ChangeApiAdds a user to the attention set.- Specified by:
- addToAttentionSetin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
setAssigneepublic AccountInfo setAssignee(AssigneeInput input) throws RestApiException Description copied from interface:ChangeApiSet the assignee of a change.- Specified by:
- setAssigneein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
getAssigneepublic AccountInfo getAssignee() throws RestApiException Description copied from interface:ChangeApiGet the assignee of a change.- Specified by:
- getAssigneein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
getPastAssigneespublic List<AccountInfo> getPastAssignees() throws RestApiException Description copied from interface:ChangeApiGet all past assignees.- Specified by:
- getPastAssigneesin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
deleteAssigneepublic AccountInfo deleteAssignee() throws RestApiException Description copied from interface:ChangeApiDelete the assignee of a change.- Specified by:
- deleteAssigneein interface- ChangeApi
- Returns:
- the assignee that was deleted, or null if there was no assignee.
- Throws:
- RestApiException
 
 - 
comments@Deprecated public Map<String,List<CommentInfo>> comments() throws RestApiException Deprecated.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
 
 - 
commentsAsList@Deprecated public List<CommentInfo> commentsAsList() throws RestApiException Deprecated.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
 
 - 
commentsRequestpublic ChangeApi.CommentsRequest commentsRequest() throws RestApiException Description 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
 
 - 
robotCommentspublic Map<String,List<RobotCommentInfo>> robotComments() throws RestApiException Description 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
 
 - 
draftspublic Map<String,List<CommentInfo>> drafts() throws RestApiException Description 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
 
 - 
draftsAsListpublic List<CommentInfo> draftsAsList() throws RestApiException Description 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
 
 - 
draftsRequestpublic ChangeApi.DraftsRequest draftsRequest() throws RestApiException Description 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
 
 - 
checkpublic ChangeInfo check() throws RestApiException - Specified by:
- checkin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
checkpublic ChangeInfo check(FixInput fix) throws RestApiException - Specified by:
- checkin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
indexpublic void index() throws RestApiException- Specified by:
- indexin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
submittedTogetherpublic List<ChangeInfo> submittedTogether() throws RestApiException - 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
 
 - 
createMergePatchSetpublic ChangeInfo createMergePatchSet(MergePatchSetInput in) throws RestApiException Description copied from interface:ChangeApiCreate a merge patch set for the change.- Specified by:
- createMergePatchSetin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
ignorepublic void ignore(boolean ignore) throws RestApiExceptionDescription copied from interface:ChangeApiIgnore or un-ignore this change.- Specified by:
- ignorein interface- ChangeApi
- Parameters:
- ignore- ignore the change if true
- Throws:
- RestApiException
 
 - 
ignoredpublic boolean ignored() throws RestApiExceptionDescription copied from interface:ChangeApiCheck if this change is ignored.- Specified by:
- ignoredin interface- ChangeApi
- Returns:
- true if the change is ignored
- Throws:
- RestApiException
 
 - 
markAsReviewedpublic void markAsReviewed(boolean reviewed) throws RestApiExceptionDescription copied from interface:ChangeApiMark this change as reviewed/unreviewed.- Specified by:
- markAsReviewedin interface- ChangeApi
- Parameters:
- reviewed- flag to decide if this change should be marked as reviewed (- true) or unreviewed (- false)
- Throws:
- RestApiException
 
 - 
pureRevertpublic PureRevertInfo pureRevert() throws RestApiException Description copied from interface:ChangeApiCheck if this change is a pure revert of the change stored in revertOf.- Specified by:
- pureRevertin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
pureRevertpublic PureRevertInfo pureRevert(String claimedOriginal) throws RestApiException Description 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
 
 - 
messagespublic List<ChangeMessageInfo> messages() throws RestApiException Description 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
 
 - 
messagepublic ChangeMessageApi message(String id) throws RestApiException Description 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.
 
 
- 
 
-