com.teamscale.jacoco.agent.upload.LocalDiskUploader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of teamscale-jacoco-agent Show documentation
Show all versions of teamscale-jacoco-agent Show documentation
JVM profiler that simplifies various aspects around recording and uploading test coverage
package com.teamscale.jacoco.agent.upload;
import com.teamscale.report.jacoco.CoverageFile;
/**
* Dummy uploader which keeps the coverage file written by the agent on disk,
* but does not actually perform uploads.
*/
public class LocalDiskUploader implements IUploader {
@Override
public void upload(CoverageFile coverageFile) {
// Don't delete the file here. We want to store the file permanently on disk in
// case no uploader is configured.
}
@Override
public String describe() {
return "configured output directory on the local disk";
}
}