-
- 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 List<Action>getActions()UnitsendResponse()UnitsendResponse(SecondaryBotResponse response)UnitsendError()UnitexceptionThrown(Event event, Throwable throwable)-
Methods inherited from class ai.tock.bot.connector.ConnectorCallbackBase
eventAnswered, eventSkipped, getApplicationId, getConnectorType, userLockReleased, userLocked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getActions
List<Action> getActions()
-
sendResponse
Unit sendResponse()
-
sendResponse
Unit sendResponse(SecondaryBotResponse response)
-
exceptionThrown
Unit exceptionThrown(Event event, Throwable throwable)
-
-
-
-