public interface RevisionApi
| Modifier and Type | Interface and Description |
|---|---|
static class |
RevisionApi.MergeListRequest |
static class |
RevisionApi.NotImplemented
A default implementation which allows source compatibility when adding new methods to the
interface.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,ActionInfo> |
actions() |
EditInfo |
applyFix(java.lang.String fixId)
Applies the indicated fix by creating a new change edit or integrating the fix with the
existing change edit.
|
boolean |
canRebase() |
ChangeApi |
cherryPick(CherryPickInput in) |
CommentApi |
comment(java.lang.String id) |
java.util.Map<java.lang.String,java.util.List<CommentInfo>> |
comments() |
java.util.List<CommentInfo> |
commentsAsList() |
CommitInfo |
commit(boolean addLinks) |
DraftApi |
createDraft(DraftInput in) |
void |
delete()
Deprecated.
|
java.lang.String |
description() |
void |
description(java.lang.String description) |
DraftApi |
draft(java.lang.String id) |
java.util.Map<java.lang.String,java.util.List<CommentInfo>> |
drafts() |
java.util.List<CommentInfo> |
draftsAsList() |
java.lang.String |
etag() |
FileApi |
file(java.lang.String path) |
java.util.Map<java.lang.String,FileInfo> |
files() |
java.util.Map<java.lang.String,FileInfo> |
files(int parentNum) |
java.util.Map<java.lang.String,FileInfo> |
files(java.lang.String base) |
RevisionApi.MergeListRequest |
getMergeList() |
MergeableInfo |
mergeable() |
MergeableInfo |
mergeableOtherBranches() |
BinaryResult |
patch()
Returns patch of revision.
|
BinaryResult |
patch(java.lang.String path) |
void |
publish()
Deprecated.
|
java.util.List<java.lang.String> |
queryFiles(java.lang.String query) |
ChangeApi |
rebase() |
ChangeApi |
rebase(RebaseInput in) |
ReviewResult |
review(ReviewInput in) |
java.util.Set<java.lang.String> |
reviewed() |
RevisionReviewerApi |
reviewer(java.lang.String id) |
RobotCommentApi |
robotComment(java.lang.String id) |
java.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> |
robotComments() |
java.util.List<RobotCommentInfo> |
robotCommentsAsList() |
void |
setReviewed(java.lang.String path,
boolean reviewed) |
void |
submit() |
void |
submit(SubmitInput in) |
BinaryResult |
submitPreview() |
BinaryResult |
submitPreview(java.lang.String format) |
SubmitType |
submitType() |
SubmitType |
testSubmitType(TestSubmitRuleInput in) |
@Deprecated
void delete()
throws RestApiException
RestApiExceptionjava.lang.String description()
throws RestApiException
RestApiExceptionvoid description(java.lang.String description)
throws RestApiException
RestApiExceptionReviewResult review(ReviewInput in) throws RestApiException
RestApiExceptionvoid submit()
throws RestApiException
RestApiExceptionvoid submit(SubmitInput in) throws RestApiException
RestApiExceptionBinaryResult submitPreview() throws RestApiException
RestApiExceptionBinaryResult submitPreview(java.lang.String format) throws RestApiException
RestApiException@Deprecated
void publish()
throws RestApiException
RestApiExceptionChangeApi cherryPick(CherryPickInput in) throws RestApiException
RestApiExceptionChangeApi rebase() throws RestApiException
RestApiExceptionChangeApi rebase(RebaseInput in) throws RestApiException
RestApiExceptionboolean canRebase()
throws RestApiException
RestApiExceptionRevisionReviewerApi reviewer(java.lang.String id) throws RestApiException
RestApiExceptionvoid setReviewed(java.lang.String path,
boolean reviewed)
throws RestApiException
RestApiExceptionjava.util.Set<java.lang.String> reviewed()
throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,FileInfo> files() throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,FileInfo> files(java.lang.String base) throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,FileInfo> files(int parentNum) throws RestApiException
RestApiExceptionjava.util.List<java.lang.String> queryFiles(java.lang.String query)
throws RestApiException
RestApiExceptionFileApi file(java.lang.String path)
CommitInfo commit(boolean addLinks) throws RestApiException
RestApiExceptionMergeableInfo mergeable() throws RestApiException
RestApiExceptionMergeableInfo mergeableOtherBranches() throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,java.util.List<CommentInfo>> comments() throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> robotComments() throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,java.util.List<CommentInfo>> drafts() throws RestApiException
RestApiExceptionjava.util.List<CommentInfo> commentsAsList() throws RestApiException
RestApiExceptionjava.util.List<CommentInfo> draftsAsList() throws RestApiException
RestApiExceptionjava.util.List<RobotCommentInfo> robotCommentsAsList() throws RestApiException
RestApiExceptionEditInfo applyFix(java.lang.String fixId) throws RestApiException
fixId - the ID of the fix which should be appliedRestApiException - if the fix couldn't be appliedDraftApi createDraft(DraftInput in) throws RestApiException
RestApiExceptionDraftApi draft(java.lang.String id) throws RestApiException
RestApiExceptionCommentApi comment(java.lang.String id) throws RestApiException
RestApiExceptionRobotCommentApi robotComment(java.lang.String id) throws RestApiException
RestApiExceptionjava.lang.String etag()
throws RestApiException
RestApiExceptionBinaryResult patch() throws RestApiException
RestApiExceptionBinaryResult patch(java.lang.String path) throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,ActionInfo> actions() throws RestApiException
RestApiExceptionSubmitType submitType() throws RestApiException
RestApiExceptionSubmitType testSubmitType(TestSubmitRuleInput in) throws RestApiException
RestApiExceptionRevisionApi.MergeListRequest getMergeList() throws RestApiException
RestApiException