ChangeApi.NotImplemented, ChangeApi.SuggestedReviewersRequest| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
void |
abandon() |
void |
abandon(AbandonInput in) |
AddReviewerResult |
addReviewer(AddReviewerInput in) |
AddReviewerResult |
addReviewer(java.lang.String in) |
ChangeInfo |
check() |
ChangeInfo |
check(FixInput fix) |
java.util.Map<java.lang.String,java.util.List<CommentInfo>> |
comments()
Get all published comments on a change.
|
ChangeInfo |
createMergePatchSet(MergePatchSetInput in)
Create a merge patch set for the change.
|
RevisionApi |
current()
Look up the current revision for the change.
|
void |
delete()
Deletes a change.
|
AccountInfo |
deleteAssignee()
Delete the assignee of a change.
|
java.util.Map<java.lang.String,java.util.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()
get with ListChangesOption set to all except CHECK. |
ChangeInfo |
get(java.util.EnumSet<ListChangesOption> options) |
AccountInfo |
getAssignee()
Get the assignee of a change.
|
EditInfo |
getEdit()
Retrieve change edit when exists.
|
java.util.Set<java.lang.String> |
getHashtags()
Get hashtags on a change.
|
java.util.List<AccountInfo> |
getPastAssignees()
Get all past assignees.
|
java.lang.String |
id() |
void |
ignore(boolean ignore)
Ignore or un-ignore this change.
|
boolean |
ignored()
Check if this change is ignored.
|
IncludedInInfo |
includedIn() |
void |
index() |
ChangeInfo |
info()
get with ListChangesOption set to none. |
void |
markAsReviewed(boolean reviewed)
Mark this change as reviewed/unreviewed.
|
void |
move(MoveInput in) |
void |
move(java.lang.String destination) |
void |
publish()
Publishes a draft change.
|
PureRevertInfo |
pureRevert()
Check if this change is a pure revert of the change stored in revertOf.
|
PureRevertInfo |
pureRevert(java.lang.String claimedOriginal)
Check if this change is a pure revert of claimedOriginal (SHA1 in 40 digit hex).
|
void |
rebase()
Deprecated.
|
void |
rebase(RebaseInput in)
Rebase the current revision of a change.
|
void |
restore() |
void |
restore(RestoreInput in) |
ChangeApi |
revert()
Create a new change that reverts this change.
|
ChangeApi |
revert(RevertInput in)
Create a new change that reverts this change.
|
ReviewerApi |
reviewer(java.lang.String id)
Look up the reviewer of the change.
|
RevisionApi |
revision(int id)
Look up a revision of a change by number.
|
RevisionApi |
revision(java.lang.String id)
Look up a revision of a change by commit SHA-1.
|
java.util.Map<java.lang.String,java.util.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 |
setMessage(java.lang.String message)
Create a new patch set with a new commit message.
|
void |
setPrivate(boolean value,
java.lang.String message) |
void |
setReadyForReview(java.lang.String message) |
void |
setWorkInProgress(java.lang.String message) |
java.util.List<ChangeInfo> |
submittedTogether() |
SubmittedTogetherInfo |
submittedTogether(java.util.EnumSet<ListChangesOption> a,
java.util.EnumSet<SubmittedTogetherOption> b) |
SubmittedTogetherInfo |
submittedTogether(java.util.EnumSet<SubmittedTogetherOption> options) |
ChangeApi.SuggestedReviewersRequest |
suggestReviewers() |
ChangeApi.SuggestedReviewersRequest |
suggestReviewers(java.lang.String query) |
java.lang.String |
topic() |
void |
topic(java.lang.String topic) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, get, setReadyForReview, setWorkInProgresspublic RevisionApi current() throws RestApiException
ChangeApiNote: 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 RevisionApi instances.
current in interface ChangeApiRestApiException - if an error occurred.public RevisionApi revision(int id) throws RestApiException
ChangeApirevision in interface ChangeApiRestApiExceptionChangeApi.current()public ReviewerApi reviewer(java.lang.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(java.lang.String id) throws RestApiException
ChangeApirevision in interface ChangeApiRestApiExceptionChangeApi.current()public void abandon()
throws RestApiException
abandon in interface ChangeApiRestApiExceptionpublic void abandon(AbandonInput in) throws RestApiException
abandon in interface ChangeApiRestApiExceptionpublic void restore()
throws RestApiException
restore in interface ChangeApiRestApiExceptionpublic void restore(RestoreInput in) throws RestApiException
restore in interface ChangeApiRestApiExceptionpublic void move(java.lang.String destination)
throws RestApiException
move in interface ChangeApiRestApiExceptionpublic void move(MoveInput in) throws RestApiException
move in interface ChangeApiRestApiExceptionpublic void setPrivate(boolean value,
java.lang.String message)
throws RestApiException
setPrivate in interface ChangeApiRestApiExceptionpublic void setWorkInProgress(java.lang.String message)
throws RestApiException
setWorkInProgress in interface ChangeApiRestApiExceptionpublic void setReadyForReview(java.lang.String message)
throws RestApiException
setReadyForReview in interface ChangeApiRestApiExceptionpublic ChangeApi revert() throws RestApiException
ChangeApirevert in interface ChangeApiRestApiExceptionChanges.id(int)public ChangeApi revert(RevertInput in) throws RestApiException
ChangeApirevert in interface ChangeApiRestApiExceptionChanges.id(int)public void publish()
throws RestApiException
ChangeApipublish in interface ChangeApiRestApiException@Deprecated
public void rebase()
throws RestApiException
ChangeApirebase in interface ChangeApiRestApiExceptionpublic void rebase(RebaseInput in) throws RestApiException
ChangeApirebase in interface ChangeApiRestApiExceptionpublic void delete()
throws RestApiException
ChangeApidelete in interface ChangeApiRestApiExceptionpublic java.lang.String topic()
throws RestApiException
topic in interface ChangeApiRestApiExceptionpublic void topic(java.lang.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 AddReviewerResult addReviewer(java.lang.String in) throws RestApiException
addReviewer in interface ChangeApiRestApiExceptionpublic ChangeApi.SuggestedReviewersRequest suggestReviewers() throws RestApiException
suggestReviewers in interface ChangeApiRestApiExceptionpublic ChangeApi.SuggestedReviewersRequest suggestReviewers(java.lang.String query) throws RestApiException
suggestReviewers in interface ChangeApiRestApiExceptionpublic ChangeInfo get(java.util.EnumSet<ListChangesOption> options) throws RestApiException
get in interface ChangeApiRestApiExceptionpublic ChangeInfo get() throws RestApiException
ChangeApiget with ListChangesOption set to all except CHECK.get in interface ChangeApiRestApiExceptionpublic ChangeInfo info() throws RestApiException
ChangeApiget with ListChangesOption set to none.info in interface ChangeApiRestApiExceptionpublic void setMessage(java.lang.String message)
throws RestApiException
ChangeApisetMessage in interface ChangeApiRestApiExceptionpublic void setMessage(CommitMessageInput in) throws RestApiException
ChangeApisetMessage in interface ChangeApiRestApiExceptionpublic EditInfo getEdit() throws RestApiException
ChangeApigetEdit 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 java.util.Set<java.lang.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 java.util.List<AccountInfo> getPastAssignees() throws RestApiException
ChangeApigetPastAssignees in interface ChangeApiRestApiExceptionpublic AccountInfo deleteAssignee() throws RestApiException
ChangeApideleteAssignee in interface ChangeApiRestApiExceptionpublic java.util.Map<java.lang.String,java.util.List<CommentInfo>> comments() throws RestApiException
ChangeApicomments in interface ChangeApirevision field set to
indicate their patch set.RestApiExceptionpublic java.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> robotComments() throws RestApiException
ChangeApirobotComments in interface ChangeApirevision field
set to indicate their patch set.RestApiExceptionpublic java.util.Map<java.lang.String,java.util.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 java.util.List<ChangeInfo> submittedTogether() throws RestApiException
submittedTogether in interface ChangeApiRestApiExceptionpublic SubmittedTogetherInfo submittedTogether(java.util.EnumSet<SubmittedTogetherOption> options) throws RestApiException
submittedTogether in interface ChangeApiRestApiExceptionpublic SubmittedTogetherInfo submittedTogether(java.util.EnumSet<ListChangesOption> a, java.util.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(java.lang.String claimedOriginal) throws RestApiException
ChangeApipureRevert in interface ChangeApiRestApiException