ChangeApi.NotImplemented, ChangeApi.SuggestedReviewersRequest| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
void |
abandon(AbandonInput in) |
AddReviewerResult |
addReviewer(AddReviewerInput in) |
ChangeInfo |
check() |
ChangeInfo |
check(FixInput fix) |
Map<String,List<CommentInfo>> |
comments()
Get all published comments on a change.
|
ChangeInfo |
createMergePatchSet(MergePatchSetInput in)
Create a merge patch set for the change.
|
void |
delete()
Deletes a change.
|
AccountInfo |
deleteAssignee()
Delete the assignee of a change.
|
Map<String,List<CommentInfo>> |
drafts()
Get all draft comments for the current user on a change.
|
ChangeEditApi |
edit()
Provides access to an API regarding the change edit of this change.
|
ChangeInfo |
get(EnumSet<ListChangesOption> options,
com.google.common.collect.ImmutableListMultimap<String,String> pluginOptions) |
AccountInfo |
getAssignee()
Get the assignee of a change.
|
Set<String> |
getHashtags()
Get hashtags on a change.
|
List<AccountInfo> |
getPastAssignees()
Get all past assignees.
|
String |
id() |
void |
ignore(boolean ignore)
Ignore or un-ignore this change.
|
boolean |
ignored()
Check if this change is ignored.
|
IncludedInInfo |
includedIn() |
void |
index() |
void |
markAsReviewed(boolean reviewed)
Mark this change as reviewed/unreviewed.
|
ChangeMessageApi |
message(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.
|
void |
move(MoveInput in) |
PureRevertInfo |
pureRevert()
Check if this change is a pure revert of the change stored in revertOf.
|
PureRevertInfo |
pureRevert(String claimedOriginal)
Check if this change is a pure revert of claimedOriginal (SHA1 in 40 digit hex).
|
void |
rebase(RebaseInput in)
Rebase the current revision of a change.
|
void |
restore(RestoreInput in) |
ChangeApi |
revert(RevertInput in)
Create a new change that reverts this change.
|
ReviewerApi |
reviewer(String id)
Look up the reviewer of the change.
|
List<ReviewerInfo> |
reviewers()
Retrieve reviewers (
ReviewerState.REVIEWER and ReviewerState.CC) on the change. |
RevisionApi |
revision(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.
|
AccountInfo |
setAssignee(AssigneeInput input)
Set the assignee of a change.
|
void |
setHashtags(HashtagsInput input)
Set hashtags on a change
|
void |
setMessage(CommitMessageInput in)
Create a new patch set with a new commit message.
|
void |
setPrivate(boolean value,
String message) |
void |
setReadyForReview(String message) |
void |
setWorkInProgress(String message) |
List<ChangeInfo> |
submittedTogether() |
SubmittedTogetherInfo |
submittedTogether(EnumSet<ListChangesOption> a,
EnumSet<SubmittedTogetherOption> b) |
SubmittedTogetherInfo |
submittedTogether(EnumSet<SubmittedTogetherOption> options) |
ChangeApi.SuggestedReviewersRequest |
suggestReviewers() |
ChangeApi.SuggestedReviewersRequest |
suggestReviewers(String query) |
String |
topic() |
void |
topic(String topic) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabandon, addReviewer, current, get, get, get, get, get, getEdit, info, move, publish, rebase, restore, revert, revision, setMessage, setPrivate, setReadyForReview, setWorkInProgresspublic ReviewerApi reviewer(String id) throws RestApiException
ChangeApireviewer in interface ChangeApiid - 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.RestApiException - if id is not account ID or is a user that isn't known to be a reviewer
for this change.public RevisionApi revision(String id) throws RestApiException
ChangeApirevision in interface ChangeApiRestApiExceptionChangeApi.current()public void abandon(AbandonInput in) throws RestApiException
abandon in interface ChangeApiRestApiExceptionpublic void restore(RestoreInput in) throws RestApiException
restore in interface ChangeApiRestApiExceptionpublic void move(MoveInput in) throws RestApiException
move in interface ChangeApiRestApiExceptionpublic void setPrivate(boolean value,
String message)
throws RestApiException
setPrivate in interface ChangeApiRestApiExceptionpublic void setWorkInProgress(String message) throws RestApiException
setWorkInProgress in interface ChangeApiRestApiExceptionpublic void setReadyForReview(String message) throws RestApiException
setReadyForReview in interface ChangeApiRestApiExceptionpublic ChangeApi revert(RevertInput in) throws RestApiException
ChangeApirevert in interface ChangeApiRestApiExceptionChanges.id(int)public void rebase(RebaseInput in) throws RestApiException
ChangeApirebase in interface ChangeApiRestApiExceptionpublic void delete()
throws RestApiException
ChangeApidelete in interface ChangeApiRestApiExceptionpublic String topic() throws RestApiException
topic in interface ChangeApiRestApiExceptionpublic void topic(String topic) throws RestApiException
topic in interface ChangeApiRestApiExceptionpublic IncludedInInfo includedIn() throws RestApiException
includedIn in interface ChangeApiRestApiExceptionpublic AddReviewerResult addReviewer(AddReviewerInput in) throws RestApiException
addReviewer in interface ChangeApiRestApiExceptionpublic ChangeApi.SuggestedReviewersRequest suggestReviewers() throws RestApiException
suggestReviewers in interface ChangeApiRestApiExceptionpublic ChangeApi.SuggestedReviewersRequest suggestReviewers(String query) throws RestApiException
suggestReviewers in interface ChangeApiRestApiExceptionpublic List<ReviewerInfo> reviewers() throws RestApiException
ChangeApiReviewerState.REVIEWER and ReviewerState.CC) on the change.reviewers in interface ChangeApiRestApiExceptionpublic ChangeInfo get(EnumSet<ListChangesOption> options, com.google.common.collect.ImmutableListMultimap<String,String> pluginOptions) throws RestApiException
get in interface ChangeApiRestApiExceptionpublic void setMessage(CommitMessageInput in) throws RestApiException
ChangeApisetMessage in interface ChangeApiRestApiExceptionpublic ChangeEditApi edit() throws RestApiException
ChangeApiedit in interface ChangeApiChangeEditApi for the change edit of this changeRestApiException - if the API isn't accessiblepublic void setHashtags(HashtagsInput input) throws RestApiException
ChangeApisetHashtags in interface ChangeApiRestApiExceptionpublic Set<String> getHashtags() throws RestApiException
ChangeApigetHashtags in interface ChangeApiRestApiExceptionpublic AccountInfo setAssignee(AssigneeInput input) throws RestApiException
ChangeApisetAssignee in interface ChangeApiRestApiExceptionpublic AccountInfo getAssignee() throws RestApiException
ChangeApigetAssignee in interface ChangeApiRestApiExceptionpublic List<AccountInfo> getPastAssignees() throws RestApiException
ChangeApigetPastAssignees in interface ChangeApiRestApiExceptionpublic AccountInfo deleteAssignee() throws RestApiException
ChangeApideleteAssignee in interface ChangeApiRestApiExceptionpublic Map<String,List<CommentInfo>> comments() throws RestApiException
ChangeApicomments in interface ChangeApirevision field set to
indicate their patch set.RestApiExceptionpublic Map<String,List<RobotCommentInfo>> robotComments() throws RestApiException
ChangeApirobotComments in interface ChangeApirevision field
set to indicate their patch set.RestApiExceptionpublic Map<String,List<CommentInfo>> drafts() throws RestApiException
ChangeApidrafts in interface ChangeApirevision field set to indicate
their patch set.RestApiExceptionpublic ChangeInfo check() throws RestApiException
check in interface ChangeApiRestApiExceptionpublic ChangeInfo check(FixInput fix) throws RestApiException
check in interface ChangeApiRestApiExceptionpublic void index()
throws RestApiException
index in interface ChangeApiRestApiExceptionpublic List<ChangeInfo> submittedTogether() throws RestApiException
submittedTogether in interface ChangeApiRestApiExceptionpublic SubmittedTogetherInfo submittedTogether(EnumSet<SubmittedTogetherOption> options) throws RestApiException
submittedTogether in interface ChangeApiRestApiExceptionpublic SubmittedTogetherInfo submittedTogether(EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b) throws RestApiException
submittedTogether in interface ChangeApiRestApiExceptionpublic ChangeInfo createMergePatchSet(MergePatchSetInput in) throws RestApiException
ChangeApicreateMergePatchSet in interface ChangeApiRestApiExceptionpublic void ignore(boolean ignore)
throws RestApiException
ChangeApiignore in interface ChangeApiignore - ignore the change if trueRestApiExceptionpublic boolean ignored()
throws RestApiException
ChangeApiignored in interface ChangeApiRestApiExceptionpublic void markAsReviewed(boolean reviewed)
throws RestApiException
ChangeApimarkAsReviewed in interface ChangeApireviewed - flag to decide if this change should be marked as reviewed (true) or
unreviewed (false)RestApiExceptionpublic PureRevertInfo pureRevert() throws RestApiException
ChangeApipureRevert in interface ChangeApiRestApiExceptionpublic PureRevertInfo pureRevert(String claimedOriginal) throws RestApiException
ChangeApipureRevert in interface ChangeApiRestApiExceptionpublic List<ChangeMessageInfo> messages() throws RestApiException
ChangeApimessages in interface ChangeApiRestApiExceptionpublic ChangeMessageApi message(String id) throws RestApiException
ChangeApimessage in interface ChangeApiid - the id of the change message. In NoteDb, this id is the ObjectId of a commit
on the change meta branch.RestApiException - if the id is invalid.