Class PrimaryBotConfiguration
-
- All Implemented Interfaces:
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 PrimaryBotOrchestrationEventHandlerprimaryBotOrchestrationEventHandlerpublic final static PrimaryBotConfiguration.CompanionCompanion
-
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<Intent>getStartOrchestrationIntentList()final List<Intent>getStopOrchestrationIntentList()final List<Intent>getNoOrchestrationIntentList()final StoryDefinitiongetComebackStory()final Function1<BotBus, Boolean>getTakeBackOrchestration()final PrimaryBotOrchestrationEventHandlergetPrimaryBotOrchestrationEventHandler()final List<OrchestrationTargetedBot>getEligibleTargetBots(ConnectorType connectorType)final OrchestrationDatagetOrchestrationData(BotBus bus)-
-
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
-
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()
-
getEligibleTargetBots
final List<OrchestrationTargetedBot> getEligibleTargetBots(ConnectorType connectorType)
-
getOrchestrationData
final OrchestrationData getOrchestrationData(BotBus bus)
-
-
-
-