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

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

Go to download

The PerfPublisher plug-in scans for xml tests reports defined in the administration panel and generates trend graphs, computes stats and underline regressions and modifications. The xml files must be generated by your own testing tool.

There is a newer version: 7.97
Show newest version
package hudson.plugins.PerfPublisher.Report;

public class Target {
	String name;
	Boolean threaded;
	
	public Target() {
		this.name="";
		this.threaded=false;
	}	
	public Target(String name, Boolean threaded) {
		this.name=name;
		this.threaded=threaded;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the threaded
	 */
	public Boolean isThreaded() {
		return threaded;
	}
	/**
	 * @param threaded the threaded to set
	 */
	public void setThreaded(Boolean threaded) {
		this.threaded = threaded;
	}
	public String getStringThreaded() {
		if (this.threaded) {
			return "threaded";
		} else {
			return "not threaded";
		}
	}
	
	@Override
	public boolean equals(Object obj) {
		if (obj instanceof Target) {
			return false;
		} else {
			Target tar = (Target) obj;
			if (tar.getName().equalsIgnoreCase(this.getName())) {
				return true;
			} else {
				return false;
			}
		}
	}

	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy