Package com.sonymobile.tools.gerrit.gerritevents.dto.rest

Examples of com.sonymobile.tools.gerrit.gerritevents.dto.rest.ReviewLabel


    protected ReviewInput createReview() {
        String message = parameterExpander.getBuildCompletedMessage(memoryImprint, listener);
        Collection<ReviewLabel> scoredLabels = new ArrayList<ReviewLabel>();
        if (memoryImprint.getEvent().isScorable()) {
            if (config.isRestCodeReview()) {
                scoredLabels.add(new ReviewLabel(
                        LABEL_CODEREVIEW,
                        parameterExpander.getMinimumCodeReviewValue(memoryImprint, true)));
            }
            if (config.isRestVerified()) {
                scoredLabels.add(new ReviewLabel(
                        LABEL_VERIFIED,
                        parameterExpander.getMinimumVerifiedValue(memoryImprint, true)));
            }
        }
        Notify notificationLevel = parameterExpander.getHighestNotificationLevel(memoryImprint, true);
View Full Code Here

TOP

Related Classes of com.sonymobile.tools.gerrit.gerritevents.dto.rest.ReviewLabel

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.