public TestPlanDAO
| Modifier and Type | Method and Description |
|---|---|
TestPlan |
getPlan(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId) |
TestPlanExecution |
getPlanExecution(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId) |
java.util.List<ai.tock.bot.admin.test.TestPlanExecution> |
getPlanExecutions(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId) |
java.util.List<ai.tock.bot.admin.test.TestPlan> |
getPlans() |
java.util.List<ai.tock.bot.admin.test.TestPlan> |
getPlansByApplicationId(java.lang.String applicationId) |
TestPlanExecution |
getTestPlanExecution(TestPlan testPlan,
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> testPlanExecutionId) |
void |
removeTestPlan(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> planId)
Remove the given test plan from the database.
|
void |
saveTestExecution(TestPlanExecution testPlanExecution)
Save the given common test plan execution into the mongo database.
|
void |
saveTestPlan(TestPlan testPlan)
Save the given common test plan into the mongo database.
|
void |
updateTestPlanExecution(org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> executionId,
TestPlanExecutionStatus status) |
void saveTestPlan(@NotNull
TestPlan testPlan)
Save the given common test plan into the mongo database.
testPlan - is the test plan to save.void removeTestPlan(@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> planId)
Remove the given test plan from the database.
planId - is the identifier of the common test plan to remove from the database.void saveTestExecution(@NotNull
TestPlanExecution testPlanExecution)
Save the given common test plan execution into the mongo database.
testPlanExecution - is the test plan execution to save.void updateTestPlanExecution(@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> executionId,
@NotNull
TestPlanExecutionStatus status)
@NotNull java.util.List<ai.tock.bot.admin.test.TestPlan> getPlans()
@Nullable TestPlan getPlan(@NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId)
@NotNull
java.util.List<ai.tock.bot.admin.test.TestPlan> getPlansByApplicationId(@NotNull
java.lang.String applicationId)
@NotNull
java.util.List<ai.tock.bot.admin.test.TestPlanExecution> getPlanExecutions(@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId)
@Nullable TestPlanExecution getPlanExecution(@NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId)
@Nullable TestPlanExecution getTestPlanExecution(@NotNull TestPlan testPlan, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> testPlanExecutionId)