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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseBotActionResult(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.JsonNodeThe 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.NOOPas an intent -
BaseBotActionResult
Deprecated. -
BaseBotActionResult
-
-
Method Details
-
getPayload
Deprecated.Description copied from interface:BotActionResultThe information from invoking the action.- Specified by:
getPayloadin interfaceBotActionResult- Returns:
- the information that should be displayed to the user
-
getPayloadNode
public com.fasterxml.jackson.databind.JsonNode getPayloadNode()Description copied from interface:BotActionResultThe information from invoking the action.- Specified by:
getPayloadNodein interfaceBotActionResult- Returns:
- the information that should be displayed to the user
-
getIntent
Description copied from interface:BotActionResultAction to perform in the user interface right after executing the bot action.- Specified by:
getIntentin interfaceBotActionResult- Returns:
- UI action to perform in the frontend
-
BaseBotActionResult(JsonNode, Intent)withIntent.NOOPas an intent