Interface BotActionResult

All Known Implementing Classes:
BaseBotActionResult, BpmnTestActionBot.TestBotActionResult

public interface BotActionResult
The result when invoking a bot action.
Author:
Filip Hrisafov, Tijs Rademakers
  • Method Summary

    Modifier and Type Method Description
    Intent getIntent()
    Action to perform in the user interface right after executing the bot action.
    java.util.Map<java.lang.String,​java.lang.Object> getPayload()
    Deprecated.
    use getPayloadNode() instead
    default com.fasterxml.jackson.databind.JsonNode getPayloadNode()
    The information from invoking the action.
  • Method Details

    • getPayload

      @Deprecated java.util.Map<java.lang.String,​java.lang.Object> getPayload()
      Deprecated.
      use getPayloadNode() instead
      The information from invoking the action.
      Returns:
      the information that should be displayed to the user
    • getPayloadNode

      default com.fasterxml.jackson.databind.JsonNode getPayloadNode()
      The information from invoking the action.
      Returns:
      the information that should be displayed to the user
    • getIntent

      Intent getIntent()
      Action to perform in the user interface right after executing the bot action.
      Returns:
      UI action to perform in the frontend