ChangeApi.NotImplemented, ChangeApi.SuggestedReviewersRequest| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
void |
abandon() |
void |
abandon(AbandonInput in) |
void |
addReviewer(AddReviewerInput in) |
void |
addReviewer(String 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.
|
RevisionApi |
current()
Look up the current revision 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()
get with ListChangesOption set to all except CHECK. |
ChangeInfo |
get(EnumSet<ListChangesOption> options) |
AccountInfo |
getAssignee()
Get the assignee of a change.
|
EditInfo |
getEdit()
Retrieve change edit when exists.
|
Set<String> |
getHashtags()
Get hashtags on a change.
|
List<AccountInfo> |
getPastAssignees()
Get all past assignees.
|
String |
id() |
IncludedInInfo |
includedIn() |
void |
index() |
ChangeInfo |
info()
get with ListChangesOption set to none. |
void |
move(MoveInput in) |
void |
move(String destination) |
void |
publish()
Publishes a draft change.
|
void |
rebase()
Rebase the current revision of a change using default options.
|
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(String id)
Look up the reviewer of the change.
|
RevisionApi |
revision(int id)
Look up a revision of a change by number.
|
RevisionApi |
revision(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.
|
AccountInfo |
setAssignee(AssigneeInput input)
Set the assignee of a change.
|
void |
setHashtags(HashtagsInput input)
Set hashtags on a change
|
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) |
public RevisionApi current()
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.
public RevisionApi revision(int id)
ChangeApirevision in interface ChangeApiChangeApi.current()public ReviewerApi reviewer(String id)
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.public RevisionApi revision(String id)
ChangeApirevision in interface ChangeApiChangeApi.current()public void abandon(AbandonInput in)
public void restore(RestoreInput in)
public ChangeApi revert()
ChangeApirevert in interface ChangeApiChanges.id(int)public ChangeApi revert(RevertInput in)
ChangeApirevert in interface ChangeApiChanges.id(int)public void publish()
ChangeApipublic void rebase()
ChangeApipublic void rebase(RebaseInput in)
ChangeApipublic void delete()
ChangeApipublic IncludedInInfo includedIn()
includedIn in interface ChangeApipublic void addReviewer(AddReviewerInput in)
addReviewer in interface ChangeApipublic void addReviewer(String in)
addReviewer in interface ChangeApipublic ChangeApi.SuggestedReviewersRequest suggestReviewers()
suggestReviewers in interface ChangeApipublic ChangeApi.SuggestedReviewersRequest suggestReviewers(String query)
suggestReviewers in interface ChangeApipublic ChangeInfo get(EnumSet<ListChangesOption> options)
public ChangeInfo get()
ChangeApiget with ListChangesOption set to all except CHECK.public ChangeInfo info()
ChangeApiget with ListChangesOption set to none.public EditInfo getEdit()
ChangeApipublic ChangeEditApi edit()
ChangeApipublic void setHashtags(HashtagsInput input)
ChangeApisetHashtags in interface ChangeApipublic Set<String> getHashtags()
ChangeApigetHashtags in interface ChangeApipublic AccountInfo setAssignee(AssigneeInput input)
ChangeApisetAssignee in interface ChangeApipublic AccountInfo getAssignee()
ChangeApigetAssignee in interface ChangeApipublic List<AccountInfo> getPastAssignees()
ChangeApigetPastAssignees in interface ChangeApipublic AccountInfo deleteAssignee()
ChangeApideleteAssignee in interface ChangeApipublic Map<String,List<CommentInfo>> comments()
ChangeApipublic Map<String,List<RobotCommentInfo>> robotComments()
ChangeApirobotComments in interface ChangeApirevision field
set to indicate their patch set.public Map<String,List<CommentInfo>> drafts()
ChangeApipublic ChangeInfo check()
public ChangeInfo check(FixInput fix)
public List<ChangeInfo> submittedTogether()
submittedTogether in interface ChangeApipublic SubmittedTogetherInfo submittedTogether(EnumSet<SubmittedTogetherOption> options)
submittedTogether in interface ChangeApipublic SubmittedTogetherInfo submittedTogether(EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b)
submittedTogether in interface ChangeApipublic ChangeInfo createMergePatchSet(MergePatchSetInput in)
ChangeApicreateMergePatchSet in interface ChangeApi