Interface DialogActionRegistry
public interface DialogActionRegistry
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a dialog action by its ID.voidregisterAction(String actionId, DialogAction action) Registers a dialog action with the given ID.
-
Method Details
-
registerAction
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
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.
-