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() |
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() |
DraftApi |
createDraft(DraftInput in) |
void |
delete() |
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() |
ChangeApi |
rebase() |
ChangeApi |
rebase(RebaseInput in) |
void |
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) |
void delete() throws RestApiException
RestApiException
java.lang.String description() throws RestApiException
RestApiException
void description(java.lang.String description) throws RestApiException
RestApiException
void review(ReviewInput in) throws RestApiException
RestApiException
void submit() throws RestApiException
RestApiException
void submit(SubmitInput in) throws RestApiException
RestApiException
BinaryResult submitPreview() throws RestApiException
RestApiException
BinaryResult submitPreview(java.lang.String format) throws RestApiException
RestApiException
void publish() throws RestApiException
RestApiException
ChangeApi cherryPick(CherryPickInput in) throws RestApiException
RestApiException
ChangeApi rebase() throws RestApiException
RestApiException
ChangeApi rebase(RebaseInput in) throws RestApiException
RestApiException
boolean canRebase() throws RestApiException
RestApiException
RevisionReviewerApi reviewer(java.lang.String id) throws RestApiException
RestApiException
void setReviewed(java.lang.String path, boolean reviewed) throws RestApiException
RestApiException
java.util.Set<java.lang.String> reviewed() throws RestApiException
RestApiException
java.util.Map<java.lang.String,FileInfo> files() throws RestApiException
RestApiException
java.util.Map<java.lang.String,FileInfo> files(java.lang.String base) throws RestApiException
RestApiException
java.util.Map<java.lang.String,FileInfo> files(int parentNum) throws RestApiException
RestApiException
FileApi file(java.lang.String path)
MergeableInfo mergeable() throws RestApiException
RestApiException
MergeableInfo mergeableOtherBranches() throws RestApiException
RestApiException
java.util.Map<java.lang.String,java.util.List<CommentInfo>> comments() throws RestApiException
RestApiException
java.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> robotComments() throws RestApiException
RestApiException
java.util.Map<java.lang.String,java.util.List<CommentInfo>> drafts() throws RestApiException
RestApiException
java.util.List<CommentInfo> commentsAsList() throws RestApiException
RestApiException
java.util.List<CommentInfo> draftsAsList() throws RestApiException
RestApiException
java.util.List<RobotCommentInfo> robotCommentsAsList() throws RestApiException
RestApiException
DraftApi createDraft(DraftInput in) throws RestApiException
RestApiException
DraftApi draft(java.lang.String id) throws RestApiException
RestApiException
CommentApi comment(java.lang.String id) throws RestApiException
RestApiException
RobotCommentApi robotComment(java.lang.String id) throws RestApiException
RestApiException
java.lang.String etag() throws RestApiException
RestApiException
BinaryResult patch() throws RestApiException
RestApiException
BinaryResult patch(java.lang.String path) throws RestApiException
RestApiException
java.util.Map<java.lang.String,ActionInfo> actions() throws RestApiException
RestApiException
SubmitType submitType() throws RestApiException
RestApiException
SubmitType testSubmitType(TestSubmitRuleInput in) throws RestApiException
RestApiException
RevisionApi.MergeListRequest getMergeList() throws RestApiException
RestApiException