Class StashInstancesStatusPanelCondition

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

    public class StashInstancesStatusPanelCondition
    extends Object
    implements com.atlassian.plugin.web.Condition
    A condition that determines whether the linked Stash instances information panel should appear on the system information page.
    • Constructor Detail

      • StashInstancesStatusPanelCondition

        public StashInstancesStatusPanelCondition​(com.atlassian.applinks.api.ReadOnlyApplicationLinkService readOnlyApplicationLinkService)
    • Method Detail

      • init

        public void init​(@NotNull
                         @NotNull 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​(@NotNull
                                     @NotNull Map<String,​Object> context)
        Specified by:
        shouldDisplay in interface com.atlassian.plugin.web.Condition