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

hudson.plugins.PerfPublisher.Report.ErrorMessage Maven / Gradle / Ivy

package hudson.plugins.PerfPublisher.Report;

import java.util.ArrayList;

public class ErrorMessage {

	private String message;
	private int numberOfTest;
	private ArrayList tests;
	
	public ErrorMessage() {
		// TODO Auto-generated constructor stub
		tests=new ArrayList();
	}
	
	public ErrorMessage(String description) {
		message = description;
		tests=new ArrayList();
		numberOfTest=1;
	}
	
	public void addTest(Test test) {
		tests.add(test);
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	/**
	 * @return the numberOfTest
	 */
	public int getNumberOfTest() {
		return numberOfTest;
	}
	/**
	 * @param numberOfTest the numberOfTest to set
	 */
	public void setNumberOfTest(int numberOfTest) {
		this.numberOfTest = numberOfTest;
	}
	
	public ArrayList getTests() {
		return tests;
	}
	
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy