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

com.teamscale.jacoco.agent.upload.IUploadRetry Maven / Gradle / Ivy

Go to download

JVM profiler that simplifies various aspects around recording and uploading test coverage

There is a newer version: 34.0.2
Show newest version
package com.teamscale.jacoco.agent.upload;

import java.util.Properties;

import com.teamscale.report.jacoco.CoverageFile;

/**
 * Interface for all the uploaders that support an automatic upload retry
 * mechanism.
 */
public interface IUploadRetry {

	/**
	 * Marks coverage files of unsuccessful coverage uploads so that they can be
	 * reuploaded at next agent start.
	 */
	void markFileForUploadRetry(CoverageFile coverageFile);

	/**
	 * Retries previously unsuccessful coverage uploads with the given properties.
	 */
	void reupload(CoverageFile coverageFile, Properties properties);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy