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

Examples of com.google.gerrit.extensions.api.changes.ReviewInput


        final ChangeInfo changeDetails = selectedChange.get();
        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

Related Classes of com.google.gerrit.extensions.api.changes.ReviewInput

Copyright © 2018 www.massapicom. 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.