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

org.pitest.mutationtest.tooling.KnownLocationJavaAgentFinder Maven / Gradle / Ivy

There is a newer version: 1.17.1
Show newest version
package org.pitest.mutationtest.tooling;

import java.util.Optional;
import org.pitest.process.JavaAgent;

public class KnownLocationJavaAgentFinder implements JavaAgent {

  private final String location;

  public KnownLocationJavaAgentFinder(final String location) {
    this.location = location;
  }

  @Override
  public Optional getJarLocation() {
    return Optional.ofNullable(this.location);
  }

  @Override
  public void close() {
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy