Interface DialogActionRegistry


public interface DialogActionRegistry
  • Method Details

    • registerAction

      void registerAction(String actionId, DialogAction action)
      Registers a dialog action with the given ID.
      Parameters:
      actionId - The unique identifier for the action.
      action - The dialog action to register.
      Throws:
      IllegalArgumentException - if an action with the same ID is already registered.
    • getAction

      DialogAction getAction(String actionId)
      Retrieves a dialog action by its ID.
      Parameters:
      actionId - The unique identifier for the action.
      Returns:
      The dialog action associated with the given ID, or null if not found.