Class NotificationBellAction

java.lang.Object
io.jenkins.plugins.interactiveinput.ui.NotificationBellAction
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject, RootAction

@Extension public class NotificationBellAction extends Object implements RootAction
Header-button RootAction for the notification centre.

Core renders primary root actions in the page header (lib/layout/header/primaryAction.jelly) with a stable element id root-action-${action.class.simpleName}. bell.js then only attaches the live pending-count badge to that button — it no longer invents the button or guesses a header insertion point (hosting review, mawinter69 2026-09-15).

getUrlName() is null on purpose, matching core's SearchAction: the control is a header <button>, not a navigable page. The existing dropdown/modal stays on click via bell.js.

  • Field Details

    • HEADER_BUTTON_ID

      public static final String HEADER_BUTTON_ID
      Id core assigns to this action's header button. Keep in lockstep with root-action-${simpleName} in lib/layout/header/primaryAction.jelly.
  • Constructor Details

    • NotificationBellAction

      public NotificationBellAction()
  • Method Details