/**
* This file is part of PaxmlTestNG.
*
* PaxmlTestNG is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PaxmlTestNG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with PaxmlTestNG. If not, see <http://www.gnu.org/licenses/>.
*/
package org.paxml.testng;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class TestResultIndex implements Serializable{
private String planEntityName;
private String threadName;
private long processId;
private long start;
private long stop;
private List<TestResultSummary> summary;
public List<TestResultSummary> getSummary() {
if (summary == null) {
summary = new ArrayList<TestResultSummary>();
}
return summary;
}
public void setSummary(List<TestResultSummary> summary) {
this.summary = summary;
}
public long getStart() {
return start;
}
public void setStart(long start) {
this.start = start;
}
public long getStop() {
return stop;
}
public void setStop(long stop) {
this.stop = stop;
}
public String getPlanEntityName() {
return planEntityName;
}
public void setPlanEntityName(String planEntityName) {
this.planEntityName = planEntityName;
}
public long getProcessId() {
return processId;
}
public void setProcessId(long processId) {
this.processId = processId;
}
public String getThreadName() {
return threadName;
}
public void setThreadName(String threadName) {
this.threadName = threadName;
}
}