hudson.plugins.PerfPublisher.Report.Processor Maven / Gradle / Ivy
package hudson.plugins.PerfPublisher.Report;
import java.util.ArrayList;
public class Processor {
private String procArch;
private String procFreq;
private String procFreqUnit;
private ArrayList cores;
public Processor() {
cores = new ArrayList();
}
public Processor(String procArch, String procFreq, String procFreqUnit,
ArrayList cores) {
super();
this.procArch = procArch;
this.procFreq = procFreq;
this.procFreqUnit = procFreqUnit;
this.cores = cores;
}
/**
* @return the procArch
*/
public String getProcArch() {
return procArch;
}
/**
* @param procArch the procArch to set
*/
public void setProcArch(String procArch) {
this.procArch = procArch;
}
/**
* @return the procFreq
*/
public String getProcFreq() {
return procFreq;
}
/**
* @param procFreq the procFreq to set
*/
public void setProcFreq(String procFreq) {
this.procFreq = procFreq;
}
/**
* @return the procFreqUnit
*/
public String getProcFreqUnit() {
return procFreqUnit;
}
/**
* @param procFreqUnit the procFreqUnit to set
*/
public void setProcFreqUnit(String procFreqUnit) {
this.procFreqUnit = procFreqUnit;
}
/**
* @return the cores
*/
public ArrayList getCores() {
return cores;
}
/**
* @param cores the cores to set
*/
public void setCores(ArrayList cores) {
this.cores = cores;
}
/**
* @param core the core to add
*/
public void addCore(Core core) {
cores.add(core);
}
}