com.atlassian.bamboo.plugins.web.conditions
Class IsNewAppSwitcherCondition
java.lang.Object
com.atlassian.bamboo.plugins.web.conditions.IsNewAppSwitcherCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
public class IsNewAppSwitcherCondition
- extends Object
- implements com.atlassian.plugin.web.Condition
Displays a web item or web section only if the new appswitcher is enabled.
It's used by nav-links-plugin so do not remove it - otherwise the plugin will not load.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsNewAppSwitcherCondition
public IsNewAppSwitcherCondition()
init
public void init(Map<String,String> params)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
shouldDisplay
public boolean shouldDisplay(Map<String,Object> context)
- Specified by:
shouldDisplay
in interface com.atlassian.plugin.web.Condition
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.