Package com.flowable.action.api.bot
Class BaseBotActionResult
java.lang.Object
com.flowable.action.api.bot.BaseBotActionResult
- All Implemented Interfaces:
BotActionResult
- Direct Known Subclasses:
BpmnTestActionBot.TestBotActionResult
A base implementation for
BotActionResult
.- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBaseBotActionResult
(com.fasterxml.jackson.databind.JsonNode payloadNode, Intent intent) BaseBotActionResult
(Map<String, Object> payload) Deprecated.BaseBotActionResult
(Map<String, Object> payload, Intent intent) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionAction to perform in the user interface right after executing the bot action.Deprecated.com.fasterxml.jackson.databind.JsonNode
The information from invoking the action.
-
Field Details
-
payload
-
payloadNode
protected com.fasterxml.jackson.databind.JsonNode payloadNode -
intent
-
-
Constructor Details
-
BaseBotActionResult
public BaseBotActionResult() -
BaseBotActionResult
Deprecated.useBaseBotActionResult(JsonNode, Intent)
withIntent.NOOP
as an intent -
BaseBotActionResult
Deprecated. -
BaseBotActionResult
-
-
Method Details
-
getPayload
Deprecated.Description copied from interface:BotActionResult
The information from invoking the action.- Specified by:
getPayload
in interfaceBotActionResult
- Returns:
- the information that should be displayed to the user
-
getPayloadNode
public com.fasterxml.jackson.databind.JsonNode getPayloadNode()Description copied from interface:BotActionResult
The information from invoking the action.- Specified by:
getPayloadNode
in interfaceBotActionResult
- Returns:
- the information that should be displayed to the user
-
getIntent
Description copied from interface:BotActionResult
Action to perform in the user interface right after executing the bot action.- Specified by:
getIntent
in interfaceBotActionResult
- Returns:
- UI action to perform in the frontend
-
BaseBotActionResult(JsonNode, Intent)
withIntent.NOOP
as an intent