-
public final class PrimaryBotConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPrimaryBotConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<Intent>startOrchestrationIntentListprivate final List<Intent>stopOrchestrationIntentListprivate final List<Intent>noOrchestrationIntentListprivate final StoryDefinitioncomebackStoryprivate final Function1<BotBus, Boolean>takeBackOrchestrationprivate final PrimaryBotOrchestrationEventHandlerprimaryBotOrchestrationEventHandler
-
Constructor Summary
Constructors Constructor Description PrimaryBotConfiguration(List<Intent> startOrchestrationIntentList, List<Intent> stopOrchestrationIntentList, List<Intent> noOrchestrationIntentList, StoryDefinition comebackStory, Map<ConnectorType, List<OrchestrationTargetedBot>> eligibleTargetBotsByConnector, OrchestrationDataProvider dataProvider, Function1<BotBus, Boolean> takeBackOrchestration, PrimaryBotOrchestrationEventHandler primaryBotOrchestrationEventHandler)
-
Method Summary
Modifier and Type Method Description final List<OrchestrationTargetedBot>getEligibleTargetBots(ConnectorType connectorType)final OrchestrationDatagetOrchestrationData(BotBus bus)final List<Intent>component1()final List<Intent>component2()final List<Intent>component3()final StoryDefinitioncomponent4()final Function1<BotBus, Boolean>component7()final PrimaryBotOrchestrationEventHandlercomponent8()final PrimaryBotConfigurationcopy(List<Intent> startOrchestrationIntentList, List<Intent> stopOrchestrationIntentList, List<Intent> noOrchestrationIntentList, StoryDefinition comebackStory, Map<ConnectorType, List<OrchestrationTargetedBot>> eligibleTargetBotsByConnector, OrchestrationDataProvider dataProvider, Function1<BotBus, Boolean> takeBackOrchestration, PrimaryBotOrchestrationEventHandler primaryBotOrchestrationEventHandler)final List<Intent>getStartOrchestrationIntentList()final List<Intent>getStopOrchestrationIntentList()final List<Intent>getNoOrchestrationIntentList()final StoryDefinitiongetComebackStory()final Function1<BotBus, Boolean>getTakeBackOrchestration()final PrimaryBotOrchestrationEventHandlergetPrimaryBotOrchestrationEventHandler()-
-
Constructor Detail
-
PrimaryBotConfiguration
PrimaryBotConfiguration(List<Intent> startOrchestrationIntentList, List<Intent> stopOrchestrationIntentList, List<Intent> noOrchestrationIntentList, StoryDefinition comebackStory, Map<ConnectorType, List<OrchestrationTargetedBot>> eligibleTargetBotsByConnector, OrchestrationDataProvider dataProvider, Function1<BotBus, Boolean> takeBackOrchestration, PrimaryBotOrchestrationEventHandler primaryBotOrchestrationEventHandler)
-
-
Method Detail
-
getEligibleTargetBots
final List<OrchestrationTargetedBot> getEligibleTargetBots(ConnectorType connectorType)
-
getOrchestrationData
final OrchestrationData getOrchestrationData(BotBus bus)
-
component1
final List<Intent> component1()
-
component2
final List<Intent> component2()
-
component3
final List<Intent> component3()
-
component4
final StoryDefinition component4()
-
component7
final Function1<BotBus, Boolean> component7()
-
component8
final PrimaryBotOrchestrationEventHandler component8()
-
copy
final PrimaryBotConfiguration copy(List<Intent> startOrchestrationIntentList, List<Intent> stopOrchestrationIntentList, List<Intent> noOrchestrationIntentList, StoryDefinition comebackStory, Map<ConnectorType, List<OrchestrationTargetedBot>> eligibleTargetBotsByConnector, OrchestrationDataProvider dataProvider, Function1<BotBus, Boolean> takeBackOrchestration, PrimaryBotOrchestrationEventHandler primaryBotOrchestrationEventHandler)
-
getStartOrchestrationIntentList
final List<Intent> getStartOrchestrationIntentList()
-
getStopOrchestrationIntentList
final List<Intent> getStopOrchestrationIntentList()
-
getNoOrchestrationIntentList
final List<Intent> getNoOrchestrationIntentList()
-
getComebackStory
final StoryDefinition getComebackStory()
-
getTakeBackOrchestration
final Function1<BotBus, Boolean> getTakeBackOrchestration()
-
getPrimaryBotOrchestrationEventHandler
final PrimaryBotOrchestrationEventHandler getPrimaryBotOrchestrationEventHandler()
-
-
-
-