public class MockHstSiteMenus extends Object implements HstSiteMenus
HstSiteMenus
.Constructor and Description |
---|
MockHstSiteMenus() |
Modifier and Type | Method and Description |
---|---|
void |
addSiteMenu(String name,
HstSiteMenu menu) |
HstSiteMenu |
getSiteMenu(String name) |
Map<String,HstSiteMenu> |
getSiteMenus() |
void |
removeSiteMenu(String name) |
public Map<String,HstSiteMenu> getSiteMenus()
getSiteMenus
in interface HstSiteMenus
HstSiteMenu
's as a (recommended unmodifiable) map in this SiteMenus implpublic HstSiteMenu getSiteMenu(String name)
getSiteMenu
in interface HstSiteMenus
name
- the name of the HstSiteMenu
HstSiteMenu
having the corresponding name and null
if none matchespublic void addSiteMenu(String name, HstSiteMenu menu)
public void removeSiteMenu(String name)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.