Class Group

java.lang.Object
jenkins.model.menu.Group

@ExportedBean public class Group extends Object
Predefined ordinals for grouping menu items.
  • Field Details

    • FIRST_IN_APP_BAR

      public static final Group FIRST_IN_APP_BAR
      Primary actions shown first in the app bar.
    • IN_APP_BAR

      public static final Group IN_APP_BAR
      Important actions shown in the app bar.
    • LAST_IN_APP_BAR

      public static final Group LAST_IN_APP_BAR
      Last action to show up in the app bar.
    • FIRST_IN_MENU

      public static final Group FIRST_IN_MENU
      Important actions for the menu
    • IN_MENU

      public static final Group IN_MENU
      Default group for actions shown in the menu.
    • LAST_IN_MENU

      public static final Group LAST_IN_MENU
      Last action to show up in the menu. Should be used for deleting objects.
  • Method Details

    • of

      public static Group of(int customOrder)
      Create a custom group with the given order.
      Parameters:
      customOrder - the order of the group.
      Returns:
      the group
    • getOrder

      @Exported public int getOrder()