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.NOOPas an intentBaseBotActionResult(Map<String,Object> payload, Intent intent)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IntentgetIntent()Action to perform in the user interface right after executing the bot action.Map<String,Object>getPayload()Deprecated.com.fasterxml.jackson.databind.JsonNodegetPayloadNode()The information from invoking the action. 
 - 
 
- 
- 
Constructor Detail
- 
BaseBotActionResult
public BaseBotActionResult()
 
- 
BaseBotActionResult
@Deprecated public BaseBotActionResult(Map<String,Object> payload)
Deprecated.useBaseBotActionResult(JsonNode, Intent)withIntent.NOOPas 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: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
public Intent 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
 
 
 - 
 
 -