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
public class BaseBotActionResult extends Object implements BotActionResult
A base implementation forBotActionResult
.- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description BaseBotActionResult()
BaseBotActionResult(com.fasterxml.jackson.databind.JsonNode payloadNode, Intent intent)
BaseBotActionResult(Map<String,Object> payload)
Deprecated.useBaseBotActionResult(JsonNode, Intent)
withIntent.NOOP
as an intentBaseBotActionResult(Map<String,Object> payload, Intent intent)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Intent
getIntent()
Action to perform in the user interface right after executing the bot action.Map<String,Object>
getPayload()
Deprecated.com.fasterxml.jackson.databind.JsonNode
getPayloadNode()
The information from invoking the action.
-
-
-
Constructor Detail
-
BaseBotActionResult
public BaseBotActionResult()
-
BaseBotActionResult
@Deprecated public BaseBotActionResult(Map<String,Object> payload)
Deprecated.useBaseBotActionResult(JsonNode, Intent)
withIntent.NOOP
as an intent
-
BaseBotActionResult
@Deprecated public BaseBotActionResult(Map<String,Object> payload, Intent intent)
Deprecated.
-
BaseBotActionResult
public BaseBotActionResult(com.fasterxml.jackson.databind.JsonNode payloadNode, Intent intent)
-
-
Method Detail
-
getPayload
@Deprecated public Map<String,Object> 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
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
- Returns:
- UI action to perform in the frontend
-
-