Class RotpAdminShortcutsCondition

  • All Implemented Interfaces:
    com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

    public class RotpAdminShortcutsCondition
    extends Object
    implements com.atlassian.plugin.web.Condition
    Displays the remote admin shortcuts in the cog menu only when this condition is true. The condition is used by navlinks plugin and not in the bamboo core itself.
    • Constructor Detail

      • RotpAdminShortcutsCondition

        public RotpAdminShortcutsCondition()
    • Method Detail

      • 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
      • setFeatureManager

        public void setFeatureManager​(FeatureManager featureManager)