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

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

The newest version!
package io.probedock.client.common.model;

import java.util.Map;
import java.util.Set;

/**
 * Define what a test result should be
 * 
 * @author Laurent Prevost 
 */
public interface ProbeTestResult {
	/**
	 * @return The unique identifier of the test.
	 */
	String getKey();

	/**
	 * @return The name of the test
	 */
	String getName();

	/**
	 * @return The duration of the test execution
	 */
	long getDuration();
	
	/**
	 * @return If the test is passed or not
	 */
	boolean isPassed();

	/**
	 * @return If the test is active
	 */
	boolean isActive();

	/**
	 * @return The message of the test result
	 */
	String getMessage();

	/**
	 * @return The category of the test
	 */
	String getCategory();

	/**
	 * @return Set of tags
	 */
	Set getTags();
	
	/**
	 * @return Set of tickets
	 */
	Set getTickets();

	/**
	 * @return Map of data
	 */
	Map getData();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy