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

org.pitest.sequence.QueryParams Maven / Gradle / Ivy

The newest version!
package org.pitest.sequence;

public final class QueryParams {

  private final Match ignoring;
  private final boolean debug;

  QueryParams(Match ignoring, boolean debug) {
    this.ignoring = ignoring;
    this.debug = debug;
  }

  public static  QueryParams params(Class clazz) {
    return params();
  }

  public static  QueryParams params() {
    return new QueryParams<>(Match.never(), false);
  }

  public QueryParams withIgnores(Match ignore) {
    return new QueryParams<>(ignore, this.debug);
  }

  public QueryParams withDebug(boolean debug) {
    return new QueryParams<>(this.ignoring, debug);
  }

  public Match ignoring() {
    return this.ignoring;
  }

  public boolean isDebug() {
    return this.debug;
  }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy