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

io.probedock.client.common.model.ProbeTestRun Maven / Gradle / Ivy

There is a newer version: 0.4.1
Show newest version
package io.probedock.client.common.model;

import java.util.List;
import java.util.Map;

/**
 * Probe Dock root payload to send test results to the server.
 *
 * @author Laurent Prevost 
 */
public interface ProbeTestRun {
	String PROBE_DOCK_REPORT_UID = "probedock.report.uid";

	/**
	 * @return Retrieve the API version
	 */
	String getApiVersion();

	/**
	 * @return The project version
	 */
	String getVersion();

	/**
	 * @return The Probe Dock project identifier
	 */
	String getProjectId();

	/**
	 * @return The duration of the test run
	 */
	long getDuration();

	/**
	 * @return The pipeline
	 */
	String getPipeline();

	/**
	 * @return The stage in the pipeline
	 */
	String getStage();

	/**
	 * @return The execution tests context
	 */
	ProbeContext getContext();

	/**
	 * @return The probe info
	 */
	ProbeInfo getProbe();

	/**
	 * @return The custom data of the test run
	 */
	Map getData();

	/**
	 * @return The list of test results
	 */
	List getTestResults();

	/**
	 * @return The list of test reports
	 */
	List getTestReports();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy