...
- Used to add a menu to the admin console and render the page for the added menu.
Interface Methods
getName
...
public java.lang.String
...
getName()
Unique identifier of the page without spaces.
getPluginIcon
...
public java.lang.String getPluginIcon
...
()
The icon used for menu rendering.
getLabel
...
public java.lang.String getLabel
...
()
The label used for menu rendering.
getOrder
...
public int getOrder()
The order of the menu. The original page menu has an order with position x 100. eg 100, 200, 300.
getLocation
...
public org.springframework.beans.factory.parsing.Location
...
getLocation()
The location to render the menu. Either DIRECTORY, MONITOR, or SETTINGS.
isAuthorized
...
public boolean isAuthorized()
Used to decide whether the current user has permission to see this menu.
render
...
public java.lang.String render(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse
...
response)
Return the HTML of the page rendering.
...
- SampleConsolePagePlugin
This sample adds a menu under monitoring to show a list of packages.