se.bjurr.violations.comments.lib.ViolationComments Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of violation-comments-lib Show documentation
Show all versions of violation-comments-lib Show documentation
Library that adds violation comments from static code analysis to pull requests.
package se.bjurr.violations.comments.lib;
import java.util.List;
import se.bjurr.violations.comments.lib.model.Comment;
import se.bjurr.violations.lib.model.Violation;
public class ViolationComments {
private final List comments;
private final List violations;
public ViolationComments(List comments, List violations) {
this.comments = comments;
this.violations = violations;
}
public List getComments() {
return comments;
}
public List getViolations() {
return violations;
}
@Override
public String toString() {
return "ViolationComments [comments=" + comments + ", violations=" + violations + "]";
}
}