com.atlassian.jira.rest.v1.menus
Class MenuResource
java.lang.Object
com.atlassian.jira.rest.v1.menus.MenuResource
public class MenuResource
- extends Object
REST endpoint to get a list of Sections and links for a menu. This uses SimpleLinkManager to generate list of links.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuResource
public MenuResource(SimpleLinkManager simpleLinkManager,
JiraAuthenticationContext authenticationContext,
UserProjectHistoryManager userProjectHistoryManager)
getMenuList
public javax.ws.rs.core.Response getMenuList(@Context
javax.servlet.http.HttpServletRequest request,
String location)
- Gets a list of
MenuResource.Section
and sub links MenuResource.Link
for a menu. These are wrapped in a MenuResource.Menu
- Parameters:
request
- The request for the resourcelocation
- The location that the menu is retreiving for.
- Returns:
- a list of
MenuResource.Section
and sub links MenuResource.Link
for a menu. These are wrapped in a MenuResource.Menu
Copyright © 2002-2013 Atlassian. All Rights Reserved.