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()
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.
public RevisionApi revision(int id)
ChangeApi
revision
in interface ChangeApi
ChangeApi.current()
public ReviewerApi reviewer(String id)
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.public RevisionApi revision(String id)
ChangeApi
revision
in interface ChangeApi
ChangeApi.current()
public void abandon(AbandonInput in)
public void restore(RestoreInput in)
public ChangeApi revert()
ChangeApi
revert
in interface ChangeApi
Changes.id(int)
public ChangeApi revert(RevertInput in)
ChangeApi
revert
in interface ChangeApi
Changes.id(int)
public void publish()
ChangeApi
public void rebase()
ChangeApi
public void rebase(RebaseInput in)
ChangeApi
public void delete()
ChangeApi
public IncludedInInfo includedIn()
includedIn
in interface ChangeApi
public void addReviewer(AddReviewerInput in)
addReviewer
in interface ChangeApi
public void addReviewer(String in)
addReviewer
in interface ChangeApi
public ChangeApi.SuggestedReviewersRequest suggestReviewers()
suggestReviewers
in interface ChangeApi
public ChangeApi.SuggestedReviewersRequest suggestReviewers(String query)
suggestReviewers
in interface ChangeApi
public ChangeInfo get(EnumSet<ListChangesOption> options)
public ChangeInfo get()
ChangeApi
get
with ListChangesOption
set to all except CHECK.public ChangeInfo info()
ChangeApi
get
with ListChangesOption
set to none.public EditInfo getEdit()
ChangeApi
public ChangeEditApi edit()
ChangeApi
public void setHashtags(HashtagsInput input)
ChangeApi
setHashtags
in interface ChangeApi
public Set<String> getHashtags()
ChangeApi
getHashtags
in interface ChangeApi
public AccountInfo setAssignee(AssigneeInput input)
ChangeApi
setAssignee
in interface ChangeApi
public AccountInfo getAssignee()
ChangeApi
getAssignee
in interface ChangeApi
public List<AccountInfo> getPastAssignees()
ChangeApi
getPastAssignees
in interface ChangeApi
public AccountInfo deleteAssignee()
ChangeApi
deleteAssignee
in interface ChangeApi
public Map<String,List<CommentInfo>> comments()
ChangeApi
public Map<String,List<RobotCommentInfo>> robotComments()
ChangeApi
robotComments
in interface ChangeApi
revision
field
set to indicate their patch set.public Map<String,List<CommentInfo>> drafts()
ChangeApi
public ChangeInfo check()
public ChangeInfo check(FixInput fix)
public List<ChangeInfo> submittedTogether()
submittedTogether
in interface ChangeApi
public SubmittedTogetherInfo submittedTogether(EnumSet<SubmittedTogetherOption> options)
submittedTogether
in interface ChangeApi
public SubmittedTogetherInfo submittedTogether(EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b)
submittedTogether
in interface ChangeApi
public ChangeInfo createMergePatchSet(MergePatchSetInput in)
ChangeApi
createMergePatchSet
in interface ChangeApi