Class BpmnTestActionBot.TestBotActionResult
java.lang.Object
com.flowable.action.api.bot.BaseBotActionResult
com.flowable.platform.service.bot.BpmnTestActionBot.TestBotActionResult
- All Implemented Interfaces:
BotActionResult
- Enclosing class:
- BpmnTestActionBot
public class BpmnTestActionBot.TestBotActionResult extends BaseBotActionResult
-
Field Summary
Fields inherited from class com.flowable.action.api.bot.BaseBotActionResult
intent, payload, payloadNode -
Constructor Summary
Constructors Constructor Description TestBotActionResult(com.fasterxml.jackson.databind.JsonNode payloadNode, Intent intent) -
Method Summary
Modifier and Type Method Description IntentgetIntent()Action to perform in the user interface right after executing the bot action.com.fasterxml.jackson.databind.JsonNodegetPayloadNode()The information from invoking the action.
-
Constructor Details
-
Method Details
-
getPayloadNode
public com.fasterxml.jackson.databind.JsonNode getPayloadNode()Description copied from interface:BotActionResultThe information from invoking the action.- Specified by:
getPayloadNodein interfaceBotActionResult- Overrides:
getPayloadNodein classBaseBotActionResult- 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- Overrides:
getIntentin classBaseBotActionResult- Returns:
- UI action to perform in the frontend
-