Package jenkins.model.menu
Class Group
java.lang.Object
jenkins.model.menu.Group
Predefined ordinals for grouping menu items.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupPrimary actions shown first in the app bar.static final GroupImportant actions for the menustatic final GroupImportant actions shown in the app bar.static final GroupDefault group for actions shown in the menu.static final GroupLast action to show up in the app bar.static final GroupLast action to show up in the menu. -
Method Summary
-
Field Details
-
FIRST_IN_APP_BAR
Primary actions shown first in the app bar. -
IN_APP_BAR
Important actions shown in the app bar. -
LAST_IN_APP_BAR
Last action to show up in the app bar. -
FIRST_IN_MENU
Important actions for the menu -
IN_MENU
Default group for actions shown in the menu. -
LAST_IN_MENU
Last action to show up in the menu. Should be used for deleting objects.
-
-
Method Details
-
of
Create a custom group with the given order.- Parameters:
customOrder- the order of the group.- Returns:
- the group
-
getOrder
@Exported public int getOrder()
-