Package ai.tock.bot.admin.test
Class TestPlan
-
- All Implemented Interfaces:
public final class TestPlanA test plan is a set of dialogs to replay.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<TestDialogReport>dialogsprivate final Stringnameprivate final StringapplicationIdprivate final Stringnamespaceprivate final StringnlpModelprivate final Id<BotApplicationConfiguration>botApplicationConfigurationIdprivate final Localelocaleprivate final MessagestartActionprivate final ConnectorTypetargetConnectorTypeprivate final Id<TestPlan>_id
-
Constructor Summary
Constructors Constructor Description TestPlan(List<TestDialogReport> dialogs, String name, String applicationId, String namespace, String nlpModel, Id<BotApplicationConfiguration> botApplicationConfigurationId, Locale locale, Message startAction, ConnectorType targetConnectorType, Id<TestPlan> _id)
-
Method Summary
Modifier and Type Method Description final List<TestDialogReport>getDialogs()The dialogs of the test. final StringgetName()The name of the test. final StringgetApplicationId()The tested application identifier. final StringgetNamespace()The namespace of the nlp model. final StringgetNlpModel()The name of the nlp model. final Id<BotApplicationConfiguration>getBotApplicationConfigurationId()The bot configuration id. final LocalegetLocale()The locale of the test. final MessagegetStartAction()The optional action to play, before starting the test. final ConnectorTypegetTargetConnectorType()The ConnectorType tested. final Id<TestPlan>get_id()The identifier of the test plan. -
-
Constructor Detail
-
TestPlan
TestPlan(List<TestDialogReport> dialogs, String name, String applicationId, String namespace, String nlpModel, Id<BotApplicationConfiguration> botApplicationConfigurationId, Locale locale, Message startAction, ConnectorType targetConnectorType, Id<TestPlan> _id)
-
-
Method Detail
-
getDialogs
final List<TestDialogReport> getDialogs()
The dialogs of the test.
-
getApplicationId
final String getApplicationId()
The tested application identifier.
-
getNamespace
final String getNamespace()
The namespace of the nlp model.
-
getNlpModel
final String getNlpModel()
The name of the nlp model.
-
getBotApplicationConfigurationId
final Id<BotApplicationConfiguration> getBotApplicationConfigurationId()
The bot configuration id.
-
getStartAction
final Message getStartAction()
The optional action to play, before starting the test.
-
getTargetConnectorType
final ConnectorType getTargetConnectorType()
The ConnectorType tested.
-
-
-
-