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
RestApiExceptionjava.lang.String description()
throws RestApiException
RestApiExceptionvoid description(java.lang.String description)
throws RestApiException
RestApiExceptionvoid 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
RestApiExceptionvoid 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
RestApiExceptionFileApi file(java.lang.String path)
MergeableInfo 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
RestApiExceptionDraftApi 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