All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.bjurr.violations.main.ViolationConfig Maven / Gradle / Ivy

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
        + "]";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy