public interface WebMenuManager
Modifier and Type | Method and Description |
---|---|
default WebMenu |
getMenu(Collection<String> menuKeys,
WebInterfaceContext context)
Builds and returns a
WebMenu for display with the given properties and context. |
WebMenu |
getMenu(String id,
Collection<String> menuKeys,
WebInterfaceContext context)
Builds and returns a
WebMenu for display with the given properties and context. |
WebMenu |
getMenu(String id,
String menuKey,
WebInterfaceContext context)
Builds and returns a
WebMenu for display with the given properties and context. |
WebMenu getMenu(String id, String menuKey, WebInterfaceContext context)
WebMenu
for display with the given properties and context.
WebMenuSection
)s with no menu items are not included in the final menu returned.
id
- the id of the menumenuKey
- the web section key of the menu being built (see WebInterfaceManager
)context
- the context in which the menu is being built inWebMenu
which can be used for displaydefault WebMenu getMenu(Collection<String> menuKeys, WebInterfaceContext context)
WebMenu
for display with the given properties and context. This method
takes in a list of menu keys to allow for building a combination of menus.
WebMenuSection
)s with no menu items are not included in the final menu returned.
menuKeys
- the web section keys of the menu being built with (see WebInterfaceManager
)context
- the context in which the menu is being built inWebMenu
which can be used for displayWebMenu getMenu(String id, Collection<String> menuKeys, WebInterfaceContext context)
WebMenu
for display with the given properties and context. This method
takes in a list of menu keys to allow for building a combination of menus.
WebMenuSection
)s with no menu items are not included in the final menu returned.
id
- the id of the menumenuKeys
- the web section keys of the menu being built with (see WebInterfaceManager
)context
- the context in which the menu is being built inWebMenu
which can be used for displayCopyright © 2003–2017 Atlassian. All rights reserved.