public class TestPlanExecution
An execution of a class TestPlan, with its result.
class TestPlan| Constructor and Description |
|---|
TestPlanExecution(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId,
java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> dialogs,
int nbErrors,
java.time.Instant date,
java.time.Duration duration,
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> _id,
TestPlanExecutionStatus status)
An execution of a
class TestPlan, with its result. |
| Modifier and Type | Method and Description |
|---|---|
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> |
component1()
The test plan identifier.
|
java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> |
component2()
The dialog execution test reports.
|
int |
component3()
Number of errors,
|
java.time.Instant |
component4()
Date of the execution.
|
java.time.Duration |
component5()
Duration of the execution.
|
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> |
component6()
The execution identifier.
|
TestPlanExecutionStatus |
component7()
The status of the test plan execution
|
TestPlanExecution |
copy(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId,
java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> dialogs,
int nbErrors,
java.time.Instant date,
java.time.Duration duration,
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> _id,
TestPlanExecutionStatus status)
An execution of a
class TestPlan, with its result. |
boolean |
equals(java.lang.Object p) |
java.time.Instant |
getDate()
Date of the execution.
|
java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> |
getDialogs()
The dialog execution test reports.
|
java.time.Duration |
getDuration()
Duration of the execution.
|
int |
getNbErrors()
Number of errors,
|
TestPlanExecutionStatus |
getStatus()
The status of the test plan execution
|
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> |
getTestPlanId()
The test plan identifier.
|
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> |
get_id()
The execution identifier.
|
int |
hashCode() |
void |
setStatus(TestPlanExecutionStatus p)
The status of the test plan execution
|
java.lang.String |
toString() |
public TestPlanExecution(@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId,
@NotNull
java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> dialogs,
int nbErrors,
@NotNull
java.time.Instant date,
@NotNull
java.time.Duration duration,
@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> _id,
@NotNull
TestPlanExecutionStatus status)
An execution of a class TestPlan, with its result.
testPlanId - The test plan identifier.dialogs - The dialog execution test reports.nbErrors - Number of errors, if any.date - Date of the execution.duration - Duration of the execution._id - The execution identifier.status - The status of the test plan executionclass TestPlan@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> getTestPlanId()
The test plan identifier.
@NotNull public java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> getDialogs()
The dialog execution test reports.
public int getNbErrors()
Number of errors,
if any.
@NotNull public java.time.Instant getDate()
Date of the execution.
@NotNull public java.time.Duration getDuration()
Duration of the execution.
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> get_id()
The execution identifier.
@NotNull public TestPlanExecutionStatus getStatus()
The status of the test plan execution
public void setStatus(@NotNull
TestPlanExecutionStatus p)
The status of the test plan execution
p - The status of the test plan execution@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> component1()
The test plan identifier.
@NotNull public java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> component2()
The dialog execution test reports.
public int component3()
Number of errors,
if any.
@NotNull public java.time.Instant component4()
Date of the execution.
@NotNull public java.time.Duration component5()
Duration of the execution.
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> component6()
The execution identifier.
@NotNull public TestPlanExecutionStatus component7()
The status of the test plan execution
@NotNull public TestPlanExecution copy(@NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId, @NotNull java.util.List<ai.tock.bot.admin.test.DialogExecutionReport> dialogs, int nbErrors, @NotNull java.time.Instant date, @NotNull java.time.Duration duration, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> _id, @NotNull TestPlanExecutionStatus status)
An execution of a class TestPlan, with its result.
class TestPlan@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)