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 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.-
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:BotActionResultThe information from invoking the action.- Specified by:
getPayloadNodein interfaceBotActionResult- Overrides:
getPayloadNodein classBaseBotActionResult- Returns:
- the information that should be displayed to the user
-
getIntent
public Intent 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
-
-