com.testfabrik.webmate.javasdk.testmgmt.TestExecutionSummary Maven / Gradle / Ivy
The newest version!
package com.testfabrik.webmate.javasdk.testmgmt;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.testfabrik.webmate.javasdk.user.UserId;
import org.joda.time.DateTime;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TestExecutionSummary {
@JsonProperty("id")
private TestExecutionId testExecutionId;
private TestTemplateId testId;
private int version;
private UserId creator;
private TestExecutionExecutionStatus executionStatus;
private TestExecutionEvaluationStatus evaluationStatus;
private DateTime creationTime;
// For jackson
public TestExecutionSummary() { }
public TestExecutionSummary(TestExecutionId testExecutionId, TestTemplateId testId, int version, UserId creator,
TestExecutionExecutionStatus executionStatus,
TestExecutionEvaluationStatus evaluationStatus, DateTime creationTime) {
this.testExecutionId = testExecutionId;
this.testId = testId;
this.version = version;
this.creator = creator;
this.executionStatus = executionStatus;
this.evaluationStatus = evaluationStatus;
this.creationTime = creationTime;
}
public TestExecutionId getTestExecutionId() {
return testExecutionId;
}
public void setTestExecutionId(TestExecutionId testExecutionId) {
this.testExecutionId = testExecutionId;
}
public TestTemplateId getTestId() {
return testId;
}
public int getVersion() {
return version;
}
public UserId getCreator() {
return creator;
}
public TestExecutionExecutionStatus getExecutionStatus() {
return executionStatus;
}
public TestExecutionEvaluationStatus getEvaluationStatus() {
return evaluationStatus;
}
public DateTime getCreationTime() {
return creationTime;
}
}