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.NotImplemented, ChangeApi.SuggestedReviewersRequest
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidabandon()voidabandon(AbandonInput in)AddReviewerResultaddReviewer(AddReviewerInput in)AddReviewerResultaddReviewer(String in)ChangeInfocheck()ChangeInfocheck(FixInput fix)Map<String,List<CommentInfo>>comments()Get all published comments on a change.List<CommentInfo>commentsAsList()Get all published comments on a change as a list.ChangeInfocreateMergePatchSet(MergePatchSetInput in)Create a merge patch set for the change.RevisionApicurrent()Look up the current revision 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.ChangeEditApiedit()Provides access to an API regarding the change edit of this change.ChangeInfoget()getwithListChangesOptionset to all except CHECK.ChangeInfoget(EnumSet<ListChangesOption> options)AccountInfogetAssignee()Get the assignee of a change.EditInfogetEdit()Retrieve change edit when exists.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()ChangeInfoinfo()getwithListChangesOptionset to none.voidmarkAsReviewed(boolean reviewed)Mark this change as reviewed/unreviewed.voidmove(MoveInput in)voidmove(String destination)voidpublish()Publishes a draft change.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()Deprecated.voidrebase(RebaseInput in)Rebase the current revision of a change.voidrestore()voidrestore(RestoreInput in)ChangeApirevert()Create a new change that reverts this change.ChangeApirevert(RevertInput in)Create a new change that reverts this change.ReviewerApireviewer(String id)Look up the reviewer of the change.List<ReviewerInfo>reviewers()Retrieve reviewers (ReviewerState.REVIEWERandReviewerState.CC) on the change.RevisionApirevision(int id)Look up a revision of a change by number.RevisionApirevision(String id)Look up a revision of a change by commit SHA-1.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.voidsetMessage(String message)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.ChangeApiget, get, setPrivate, setReadyForReview, setWorkInProgress
 
- 
 
- 
- 
- 
Method Detail- 
currentpublic RevisionApi current() throws RestApiException Description copied from interface:ChangeApiLook up the current revision for the change.Note: This method eagerly reads the revision. Methods that mutate the revision do not necessarily re-read the revision. Therefore, calling a getter method on an instance after calling a mutation method on that same instance is not guaranteed to reflect the mutation. It is not recommended to store references to RevisionApiinstances.- Specified by:
- currentin interface- ChangeApi
- Returns:
- API for accessing the revision.
- Throws:
- RestApiException- if an error occurred.
 
 - 
revisionpublic RevisionApi revision(int id) throws RestApiException Description copied from interface:ChangeApiLook up a revision of a change by number.- Specified by:
- revisionin interface- ChangeApi
- Throws:
- RestApiException
- See Also:
- ChangeApi.current()
 
 - 
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.- Specified by:
- revisionin interface- ChangeApi
- Throws:
- RestApiException
- See Also:
- ChangeApi.current()
 
 - 
abandonpublic void abandon() throws RestApiException- Specified by:
- abandonin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
abandonpublic void abandon(AbandonInput in) throws RestApiException - Specified by:
- abandonin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
restorepublic void restore() throws RestApiException- Specified by:
- restorein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
restorepublic void restore(RestoreInput in) throws RestApiException - Specified by:
- restorein interface- ChangeApi
- Throws:
- RestApiException
 
 - 
movepublic void move(String destination) throws RestApiException - Specified by:
- movein 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() 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)
 
 - 
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)
 
 - 
publishpublic void publish() throws RestApiExceptionDescription copied from interface:ChangeApiPublishes a draft change.- Specified by:
- publishin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
rebase@Deprecated public void rebase() throws RestApiException Deprecated.Description copied from interface:ChangeApiRebase the current revision of a change using default options.- Specified by:
- rebasein 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
 
 - 
addReviewerpublic AddReviewerResult addReviewer(String 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) throws RestApiException - Specified by:
- getin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
getpublic ChangeInfo get() throws RestApiException Description copied from interface:ChangeApigetwithListChangesOptionset to all except CHECK.- Specified by:
- getin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
infopublic ChangeInfo info() throws RestApiException Description copied from interface:ChangeApigetwithListChangesOptionset to none.- Specified by:
- infoin interface- ChangeApi
- Throws:
- RestApiException
 
 - 
setMessagepublic void setMessage(String message) throws RestApiException Description copied from interface:ChangeApiCreate a new patch set with a new commit message.- Specified by:
- setMessagein interface- ChangeApi
- 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
 
 - 
getEditpublic EditInfo getEdit() throws RestApiException Description copied from interface:ChangeApiRetrieve change edit when exists.- Specified by:
- getEditin 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
 
 - 
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
 
 - 
commentspublic Map<String,List<CommentInfo>> comments() throws RestApiException 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
 
 - 
commentsAsListpublic List<CommentInfo> commentsAsList() throws RestApiException 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
 
 - 
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
 
 - 
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
 
 
- 
 
-