1 package com.griddynamics.jagger.engine.e1.services.data.service;
3 import com.griddynamics.jagger.dbapi.dto.TaskDataDto;
4 import com.griddynamics.jagger.util.Decision;
20 private String description;
24 private Integer clockValue;
25 private String terminationStrategy;
26 private Date startDate;
27 private Integer testGroupIndex;
28 private Decision testExecutionStatus;
29 private Decision decision;
30 private TaskDataDto taskDataDto;
52 return terminationStrategy;
56 this.terminationStrategy = terminationStrategy;
74 this.description = description;
83 this.startDate = startDate;
88 return testGroupIndex;
92 this.testGroupIndex = testGroupIndex;
97 return testExecutionStatus;
101 this.testExecutionStatus = testExecutionStatus;
110 this.decision = decision;
119 this.clockValue = clockValue;
128 this.taskDataDto = taskDataDto;
133 if (
this == o)
return true;
134 if (o == null || getClass() != o.getClass())
return false;
138 if (clockValue != null ? !clockValue.equals(that.clockValue) : that.clockValue != null)
return false;
139 if (decision != that.decision)
return false;
140 if (description != null ? !description.equals(that.description) : that.description != null)
return false;
141 if (
id != null ? !
id.
equals(that.id) : that.id != null)
return false;
142 if (load != null ? !load.equals(that.load) : that.load != null)
return false;
143 if (name != null ? !name.equals(that.name) : that.name != null)
return false;
144 if (startDate != null ? !startDate.equals(that.startDate) : that.startDate != null)
return false;
145 if (taskDataDto != null ? !taskDataDto.equals(that.taskDataDto) : that.taskDataDto != null)
return false;
146 if (terminationStrategy != null ? !terminationStrategy.equals(that.terminationStrategy) : that.terminationStrategy != null)
148 if (testExecutionStatus != that.testExecutionStatus)
return false;
149 if (testGroupIndex != null ? !testGroupIndex.equals(that.testGroupIndex) : that.testGroupIndex != null)
157 int result =
id != null ?
id.hashCode() : 0;
158 result = 31 * result + (name != null ? name.hashCode() : 0);
159 result = 31 * result + (description != null ? description.hashCode() : 0);
160 result = 31 * result + (load != null ? load.hashCode() : 0);
161 result = 31 * result + (clockValue != null ? clockValue.hashCode() : 0);
162 result = 31 * result + (terminationStrategy != null ? terminationStrategy.hashCode() : 0);
163 result = 31 * result + (startDate != null ? startDate.hashCode() : 0);
164 result = 31 * result + (testGroupIndex != null ? testGroupIndex.hashCode() : 0);
165 result = 31 * result + (testExecutionStatus != null ? testExecutionStatus.hashCode() : 0);
166 result = 31 * result + (decision != null ? decision.hashCode() : 0);
167 result = 31 * result + (taskDataDto != null ? taskDataDto.hashCode() : 0);
173 return "TestEntity{" +
175 ", name='" + name +
'\'' +
176 ", description='" + description +
'\'' +
177 ", load='" + load +
'\'' +
178 ", clockValue=" + clockValue +
179 ", terminationStrategy='" + terminationStrategy +
'\'' +
180 ", startDate=" + startDate +
181 ", testGroupIndex=" + testGroupIndex +
182 ", testExecutionStatus=" + testExecutionStatus +
183 ", decision=" + decision +
184 ", taskDataDto=" + taskDataDto +