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);