public class TestPlan
A test plan is a set of dialogs to replay.
| Constructor and Description |
|---|
TestPlan(java.util.List<ai.tock.bot.admin.test.TestDialogReport> dialogs,
java.lang.String name,
java.lang.String applicationId,
java.lang.String namespace,
java.lang.String nlpModel,
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> botApplicationConfigurationId,
java.util.Locale locale,
Message startAction,
ConnectorType targetConnectorType,
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> _id)
A test plan is a set of dialogs to replay.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ai.tock.bot.admin.test.TestDialogReport> |
component1()
The dialogs of the test.
|
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> |
component10()
The identifier of the test plan.
|
java.lang.String |
component2()
The name of the test.
|
java.lang.String |
component3()
The tested application identifier.
|
java.lang.String |
component4()
The namespace of the nlp model.
|
java.lang.String |
component5()
The name of the nlp model.
|
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> |
component6()
The bot configuration id.
|
java.util.Locale |
component7()
The locale of the test.
|
Message |
component8()
The optional action to play,
|
ConnectorType |
component9()
The
|
TestPlan |
copy(java.util.List<ai.tock.bot.admin.test.TestDialogReport> dialogs,
java.lang.String name,
java.lang.String applicationId,
java.lang.String namespace,
java.lang.String nlpModel,
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> botApplicationConfigurationId,
java.util.Locale locale,
Message startAction,
ConnectorType targetConnectorType,
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> _id)
A test plan is a set of dialogs to replay.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getApplicationId()
The tested application identifier.
|
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> |
getBotApplicationConfigurationId()
The bot configuration id.
|
java.util.List<ai.tock.bot.admin.test.TestDialogReport> |
getDialogs()
The dialogs of the test.
|
java.util.Locale |
getLocale()
The locale of the test.
|
java.lang.String |
getName()
The name of the test.
|
java.lang.String |
getNamespace()
The namespace of the nlp model.
|
java.lang.String |
getNlpModel()
The name of the nlp model.
|
Message |
getStartAction()
The optional action to play,
|
ConnectorType |
getTargetConnectorType()
The
|
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> |
get_id()
The identifier of the test plan.
|
int |
hashCode() |
java.lang.String |
toString() |
public TestPlan(@NotNull
java.util.List<ai.tock.bot.admin.test.TestDialogReport> dialogs,
@NotNull
java.lang.String name,
@NotNull
java.lang.String applicationId,
@NotNull
java.lang.String namespace,
@NotNull
java.lang.String nlpModel,
@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> botApplicationConfigurationId,
@NotNull
java.util.Locale locale,
@Nullable
Message startAction,
@NotNull
ConnectorType targetConnectorType,
@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> _id)
A test plan is a set of dialogs to replay.
dialogs - The dialogs of the test.name - The name of the test.applicationId - The tested application identifier.namespace - The namespace of the nlp model.nlpModel - The name of the nlp model.botApplicationConfigurationId - The bot configuration id.locale - The locale of the test.startAction - The optional action to play, before starting the test.targetConnectorType - The class ConnectorType tested._id - The identifier of the test plan.@NotNull public java.util.List<ai.tock.bot.admin.test.TestDialogReport> getDialogs()
The dialogs of the test.
@NotNull public java.lang.String getName()
The name of the test.
@NotNull public java.lang.String getApplicationId()
The tested application identifier.
@NotNull public java.lang.String getNamespace()
The namespace of the nlp model.
@NotNull public java.lang.String getNlpModel()
The name of the nlp model.
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> getBotApplicationConfigurationId()
The bot configuration id.
@NotNull public java.util.Locale getLocale()
The locale of the test.
@Nullable public Message getStartAction()
The optional action to play,
before starting the test.
@NotNull public ConnectorType getTargetConnectorType()
The
class ConnectorType tested.
class ConnectorType@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> get_id()
The identifier of the test plan.
@NotNull public java.util.List<ai.tock.bot.admin.test.TestDialogReport> component1()
The dialogs of the test.
@NotNull public java.lang.String component2()
The name of the test.
@NotNull public java.lang.String component3()
The tested application identifier.
@NotNull public java.lang.String component4()
The namespace of the nlp model.
@NotNull public java.lang.String component5()
The name of the nlp model.
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> component6()
The bot configuration id.
@NotNull public java.util.Locale component7()
The locale of the test.
@Nullable public Message component8()
The optional action to play,
before starting the test.
@NotNull public ConnectorType component9()
The
class ConnectorType tested.
class ConnectorType@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> component10()
The identifier of the test plan.
@NotNull public TestPlan copy(@NotNull java.util.List<ai.tock.bot.admin.test.TestDialogReport> dialogs, @NotNull java.lang.String name, @NotNull java.lang.String applicationId, @NotNull java.lang.String namespace, @NotNull java.lang.String nlpModel, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> botApplicationConfigurationId, @NotNull java.util.Locale locale, @Nullable Message startAction, @NotNull ConnectorType targetConnectorType, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> _id)
A test plan is a set of dialogs to replay.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)