se.bjurr.violations.main.ViolationConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of violations-command-line Show documentation
Show all versions of violations-command-line Show documentation
CLI find report files from static code analysis, present and optionally fail.
The newest version!
package se.bjurr.violations.main;
import se.bjurr.violations.lib.reports.Parser;
public class ViolationConfig {
private final Parser parser;
private final String folder;
private final String regexp;
private final String name;
public ViolationConfig(
final Parser parser, final String folder, final String regexp, final String name) {
this.parser = parser;
this.folder = folder;
this.regexp = regexp;
this.name = name;
}
public String getFolder() {
return this.folder;
}
public String getName() {
return this.name;
}
public Parser getParser() {
return this.parser;
}
public String getRegexp() {
return this.regexp;
}
@Override
public String toString() {
return "ViolationConfig [parser="
+ this.parser
+ ", folder="
+ this.folder
+ ", regexp="
+ this.regexp
+ ", name="
+ this.name
+ "]";
}
}