-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorCallback,ai.tock.bot.orchestration.bot.secondary.OrchestrationCallback
public class RestOrchestrationCallback extends ConnectorCallbackBase implements OrchestrationCallback
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Action>actionsprivate final StringapplicationIdprivate final ConnectorTypeconnectorType
-
Constructor Summary
Constructors Constructor Description RestOrchestrationCallback(ConnectorType connectorType, String applicationId, RoutingContext context, List<Action> actions, ObjectMapper orchestrationMapper)
-
Method Summary
Modifier and Type Method Description UnitsendResponse()UnitsendResponse(SecondaryBotResponse response)UnitsendError()UnitexceptionThrown(Event event, Throwable throwable)List<Action>getActions()StringgetApplicationId()final ConnectorTypegetConnectorType()-
Methods inherited from class ai.tock.bot.orchestration.bot.secondary.OrchestrationCallback
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.orchestration.bot.secondary.RestOrchestrationCallback
eventAnswered, eventSkipped, userLockReleased, userLocked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
sendResponse
Unit sendResponse()
-
sendResponse
Unit sendResponse(SecondaryBotResponse response)
-
exceptionThrown
Unit exceptionThrown(Event event, Throwable throwable)
-
getActions
List<Action> getActions()
-
getApplicationId
String getApplicationId()
-
getConnectorType
final ConnectorType getConnectorType()
-
-
-
-