public class TestPlan
A test plan is a set of dialogs to replay.
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()
A test plan is a set of dialogs to replay.
public int hashCode()
A test plan is a set of dialogs to replay.
public boolean equals(@Nullable
java.lang.Object p)
A test plan is a set of dialogs to replay.