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.
|
@Deprecated default void delete()
String description() throws RestApiException
RestApiException
void description(String description) throws RestApiException
RestApiException
ReviewResult review(ReviewInput in) throws RestApiException
RestApiException
default void submit() throws RestApiException
RestApiException
void submit(SubmitInput in) throws RestApiException
RestApiException
default BinaryResult submitPreview() throws RestApiException
RestApiException
BinaryResult submitPreview(String format) throws RestApiException
RestApiException
@Deprecated default void publish()
ChangeApi cherryPick(CherryPickInput in) throws RestApiException
RestApiException
CherryPickChangeInfo cherryPickAsInfo(CherryPickInput in) throws RestApiException
RestApiException
default ChangeApi rebase() throws RestApiException
RestApiException
ChangeApi rebase(RebaseInput in) throws RestApiException
RestApiException
boolean canRebase() throws RestApiException
RestApiException
RevisionReviewerApi reviewer(String id) throws RestApiException
RestApiException
void setReviewed(String path, boolean reviewed) throws RestApiException
RestApiException
Set<String> reviewed() throws RestApiException
RestApiException
default Map<String,FileInfo> files() throws RestApiException
RestApiException
Map<String,FileInfo> files(String base) throws RestApiException
RestApiException
Map<String,FileInfo> files(int parentNum) throws RestApiException
RestApiException
List<String> queryFiles(String query) throws RestApiException
RestApiException
CommitInfo commit(boolean addLinks) throws RestApiException
RestApiException
MergeableInfo mergeable() throws RestApiException
RestApiException
MergeableInfo mergeableOtherBranches() throws RestApiException
RestApiException
Map<String,List<CommentInfo>> comments() throws RestApiException
RestApiException
Map<String,List<RobotCommentInfo>> robotComments() throws RestApiException
RestApiException
Map<String,List<CommentInfo>> drafts() throws RestApiException
RestApiException
List<CommentInfo> commentsAsList() throws RestApiException
RestApiException
List<CommentInfo> draftsAsList() throws RestApiException
RestApiException
List<RobotCommentInfo> robotCommentsAsList() throws RestApiException
RestApiException
EditInfo applyFix(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
RestApiException
DraftApi draft(String id) throws RestApiException
RestApiException
CommentApi comment(String id) throws RestApiException
RestApiException
RobotCommentApi robotComment(String id) throws RestApiException
RestApiException
String etag() throws RestApiException
RestApiException
BinaryResult patch() throws RestApiException
RestApiException
BinaryResult patch(String path) throws RestApiException
RestApiException
Map<String,ActionInfo> actions() throws RestApiException
RestApiException
SubmitType submitType() throws RestApiException
RestApiException
SubmitType testSubmitType(TestSubmitRuleInput in) throws RestApiException
RestApiException
List<TestSubmitRuleInfo> testSubmitRule(TestSubmitRuleInput in) throws RestApiException
RestApiException
RevisionApi.MergeListRequest getMergeList() throws RestApiException
RestApiException
RelatedChangesInfo related() throws RestApiException
RestApiException
com.google.common.collect.ListMultimap<String,ApprovalInfo> votes() throws RestApiException
RestApiException