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.
|
java.util.List<ReviewerInfo> |
reviewers()
Retrieve reviewers (
ReviewerState.REVIEWER and ReviewerState.CC ) on 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, wait
get, get, setPrivate, setReadyForReview, setWorkInProgress
public RevisionApi current() throws RestApiException
ChangeApi
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 RevisionApi
instances.
current
in interface ChangeApi
RestApiException
- if an error occurred.public RevisionApi revision(int id) throws RestApiException
ChangeApi
revision
in interface ChangeApi
RestApiException
ChangeApi.current()
public ReviewerApi reviewer(java.lang.String id) throws RestApiException
ChangeApi
reviewer
in interface ChangeApi
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.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
ChangeApi
revision
in interface ChangeApi
RestApiException
ChangeApi.current()
public void abandon() throws RestApiException
abandon
in interface ChangeApi
RestApiException
public void abandon(AbandonInput in) throws RestApiException
abandon
in interface ChangeApi
RestApiException
public void restore() throws RestApiException
restore
in interface ChangeApi
RestApiException
public void restore(RestoreInput in) throws RestApiException
restore
in interface ChangeApi
RestApiException
public void move(java.lang.String destination) throws RestApiException
move
in interface ChangeApi
RestApiException
public void move(MoveInput in) throws RestApiException
move
in interface ChangeApi
RestApiException
public void setPrivate(boolean value, java.lang.String message) throws RestApiException
setPrivate
in interface ChangeApi
RestApiException
public void setWorkInProgress(java.lang.String message) throws RestApiException
setWorkInProgress
in interface ChangeApi
RestApiException
public void setReadyForReview(java.lang.String message) throws RestApiException
setReadyForReview
in interface ChangeApi
RestApiException
public ChangeApi revert() throws RestApiException
ChangeApi
revert
in interface ChangeApi
RestApiException
Changes.id(int)
public ChangeApi revert(RevertInput in) throws RestApiException
ChangeApi
revert
in interface ChangeApi
RestApiException
Changes.id(int)
public void publish() throws RestApiException
ChangeApi
publish
in interface ChangeApi
RestApiException
@Deprecated public void rebase() throws RestApiException
ChangeApi
rebase
in interface ChangeApi
RestApiException
public void rebase(RebaseInput in) throws RestApiException
ChangeApi
rebase
in interface ChangeApi
RestApiException
public void delete() throws RestApiException
ChangeApi
delete
in interface ChangeApi
RestApiException
public java.lang.String topic() throws RestApiException
topic
in interface ChangeApi
RestApiException
public void topic(java.lang.String topic) throws RestApiException
topic
in interface ChangeApi
RestApiException
public IncludedInInfo includedIn() throws RestApiException
includedIn
in interface ChangeApi
RestApiException
public AddReviewerResult addReviewer(AddReviewerInput in) throws RestApiException
addReviewer
in interface ChangeApi
RestApiException
public AddReviewerResult addReviewer(java.lang.String in) throws RestApiException
addReviewer
in interface ChangeApi
RestApiException
public ChangeApi.SuggestedReviewersRequest suggestReviewers() throws RestApiException
suggestReviewers
in interface ChangeApi
RestApiException
public ChangeApi.SuggestedReviewersRequest suggestReviewers(java.lang.String query) throws RestApiException
suggestReviewers
in interface ChangeApi
RestApiException
public java.util.List<ReviewerInfo> reviewers() throws RestApiException
ChangeApi
ReviewerState.REVIEWER
and ReviewerState.CC
) on the change.reviewers
in interface ChangeApi
RestApiException
public ChangeInfo get(java.util.EnumSet<ListChangesOption> options) throws RestApiException
get
in interface ChangeApi
RestApiException
public ChangeInfo get() throws RestApiException
ChangeApi
get
with ListChangesOption
set to all except CHECK.get
in interface ChangeApi
RestApiException
public ChangeInfo info() throws RestApiException
ChangeApi
get
with ListChangesOption
set to none.info
in interface ChangeApi
RestApiException
public void setMessage(java.lang.String message) throws RestApiException
ChangeApi
setMessage
in interface ChangeApi
RestApiException
public void setMessage(CommitMessageInput in) throws RestApiException
ChangeApi
setMessage
in interface ChangeApi
RestApiException
public EditInfo getEdit() throws RestApiException
ChangeApi
getEdit
in interface ChangeApi
RestApiException
public ChangeEditApi edit() throws RestApiException
ChangeApi
edit
in interface ChangeApi
ChangeEditApi
for the change edit of this changeRestApiException
- if the API isn't accessiblepublic void setHashtags(HashtagsInput input) throws RestApiException
ChangeApi
setHashtags
in interface ChangeApi
RestApiException
public java.util.Set<java.lang.String> getHashtags() throws RestApiException
ChangeApi
getHashtags
in interface ChangeApi
RestApiException
public AccountInfo setAssignee(AssigneeInput input) throws RestApiException
ChangeApi
setAssignee
in interface ChangeApi
RestApiException
public AccountInfo getAssignee() throws RestApiException
ChangeApi
getAssignee
in interface ChangeApi
RestApiException
public java.util.List<AccountInfo> getPastAssignees() throws RestApiException
ChangeApi
getPastAssignees
in interface ChangeApi
RestApiException
public AccountInfo deleteAssignee() throws RestApiException
ChangeApi
deleteAssignee
in interface ChangeApi
RestApiException
public java.util.Map<java.lang.String,java.util.List<CommentInfo>> comments() throws RestApiException
ChangeApi
comments
in interface ChangeApi
revision
field set to
indicate their patch set.RestApiException
public java.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> robotComments() throws RestApiException
ChangeApi
robotComments
in interface ChangeApi
revision
field
set to indicate their patch set.RestApiException
public java.util.Map<java.lang.String,java.util.List<CommentInfo>> drafts() throws RestApiException
ChangeApi
drafts
in interface ChangeApi
revision
field set to indicate
their patch set.RestApiException
public ChangeInfo check() throws RestApiException
check
in interface ChangeApi
RestApiException
public ChangeInfo check(FixInput fix) throws RestApiException
check
in interface ChangeApi
RestApiException
public void index() throws RestApiException
index
in interface ChangeApi
RestApiException
public java.util.List<ChangeInfo> submittedTogether() throws RestApiException
submittedTogether
in interface ChangeApi
RestApiException
public SubmittedTogetherInfo submittedTogether(java.util.EnumSet<SubmittedTogetherOption> options) throws RestApiException
submittedTogether
in interface ChangeApi
RestApiException
public SubmittedTogetherInfo submittedTogether(java.util.EnumSet<ListChangesOption> a, java.util.EnumSet<SubmittedTogetherOption> b) throws RestApiException
submittedTogether
in interface ChangeApi
RestApiException
public ChangeInfo createMergePatchSet(MergePatchSetInput in) throws RestApiException
ChangeApi
createMergePatchSet
in interface ChangeApi
RestApiException
public void ignore(boolean ignore) throws RestApiException
ChangeApi
ignore
in interface ChangeApi
ignore
- ignore the change if trueRestApiException
public boolean ignored() throws RestApiException
ChangeApi
ignored
in interface ChangeApi
RestApiException
public void markAsReviewed(boolean reviewed) throws RestApiException
ChangeApi
markAsReviewed
in interface ChangeApi
reviewed
- flag to decide if this change should be marked as reviewed (true
) or
unreviewed (false
)RestApiException
public PureRevertInfo pureRevert() throws RestApiException
ChangeApi
pureRevert
in interface ChangeApi
RestApiException
public PureRevertInfo pureRevert(java.lang.String claimedOriginal) throws RestApiException
ChangeApi
pureRevert
in interface ChangeApi
RestApiException