Package com.google.gerrit.extensions.api.changes

Examples of com.google.gerrit.extensions.api.changes.ReviewInput.label()


        gerritUtil.getComments(changeDetails.id, selectedRevisions.get(changeDetails), project, false, true,
                new Consumer<Map<String, List<CommentInfo>>>() {
            @Override
            public void consume(Map<String, List<CommentInfo>> draftComments) {
                final ReviewInput reviewInput = new ReviewInput();
                reviewInput.label(label, rating);

                for (Map.Entry<String, List<CommentInfo>> entry : draftComments.entrySet()) {
                    for (CommentInfo commentInfo : entry.getValue()) {
                        addComment(reviewInput, entry.getKey(), commentInfo);
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.