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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Intent
getIntent()
Action to perform in the user interface right after executing the bot action.com.fasterxml.jackson.databind.JsonNode
getPayloadNode()
The information from invoking the action.-
Methods inherited from class com.flowable.action.api.bot.BaseBotActionResult
getPayload
-
-
-
-
Constructor Detail
-
TestBotActionResult
public TestBotActionResult(com.fasterxml.jackson.databind.JsonNode payloadNode, Intent intent)
-
-
Method Detail
-
getPayloadNode
public com.fasterxml.jackson.databind.JsonNode getPayloadNode()
Description copied from interface:BotActionResult
The information from invoking the action.- Specified by:
getPayloadNode
in interfaceBotActionResult
- Overrides:
getPayloadNode
in classBaseBotActionResult
- Returns:
- the information that should be displayed to the user
-
getIntent
public Intent getIntent()
Description copied from interface:BotActionResult
Action to perform in the user interface right after executing the bot action.- Specified by:
getIntent
in interfaceBotActionResult
- Overrides:
getIntent
in classBaseBotActionResult
- Returns:
- UI action to perform in the frontend
-
-