Interface PrimaryBotOrchestrationEventHandler
-
- All Implemented Interfaces:
public interface PrimaryBotOrchestrationEventHandler
-
-
Method Summary
Modifier and Type Method Description abstract UnitonStarOrchestration(BotBus bus, AvailableOrchestrationResponse orchestrationResponse)Event when the primary bot delegate conversation to a secondary bot abstract ComeBackFromSecondaryonStopOrchestration(BotBus bus, Orchestration orchestration)Event when a Intent in stopOrchestrationIntentList (primary bot configuration) is enabled abstract ComeBackFromSecondaryonNoOrchestration(BotBus bus, Orchestration orchestration)Event when a Intent in noOrchestrationIntentList (primary bot configuration) is enabled abstract ComeBackFromSecondaryonTakeBackOrchestration(BotBus bus, Orchestration orchestration)Event when takeBackOrchestration() (primary bot configuration) is true -
-
Method Detail
-
onStarOrchestration
abstract Unit onStarOrchestration(BotBus bus, AvailableOrchestrationResponse orchestrationResponse)
Event when the primary bot delegate conversation to a secondary bot
- Parameters:
orchestrationResponse- chosen response (secondary bot more relevant)
-
onStopOrchestration
abstract ComeBackFromSecondary onStopOrchestration(BotBus bus, Orchestration orchestration)
Event when a Intent in stopOrchestrationIntentList (primary bot configuration) is enabled
- Parameters:
orchestration- current orchestration
-
onNoOrchestration
abstract ComeBackFromSecondary onNoOrchestration(BotBus bus, Orchestration orchestration)
Event when a Intent in noOrchestrationIntentList (primary bot configuration) is enabled
- Parameters:
orchestration- current orchestration
-
onTakeBackOrchestration
abstract ComeBackFromSecondary onTakeBackOrchestration(BotBus bus, Orchestration orchestration)
Event when takeBackOrchestration() (primary bot configuration) is true
- Parameters:
orchestration- current orchestration
-
-
-
-