* Registers the action handler for the method with the specified name. * * The handler is only invoked by events with trust equal to or greater than * `minTrust`. Otherwise, a user error is logged. * * @param {string} alias * @param {function(!./service/action-impl.ActionInvocation
(alias, handler, minTrust = ActionTrust_Enum.DEFAULT)
| 688 | * @public |
| 689 | */ |
| 690 | registerAction(alias, handler, minTrust = ActionTrust_Enum.DEFAULT) { |
| 691 | initActionMap(this); |
| 692 | this['actionMap_'][alias] = {handler, minTrust}; |
| 693 | } |
| 694 | |
| 695 | /** |
| 696 | * Registers the default action for this component. |
no test coverage detected