Class ClusterUrlReadingCondition

  • All Implemented Interfaces:
    com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.webresource.condition.UrlReadingCondition

    public class ClusterUrlReadingCondition
    extends Object
    implements com.atlassian.plugin.webresource.condition.UrlReadingCondition
    Evaluates to true if Confluence is in a clustered configuration
    Since:
    5.6
    • Constructor Detail

      • ClusterUrlReadingCondition

        public ClusterUrlReadingCondition​(ClusterManager clusterManager)
    • Method Detail

      • init

        public void init​(Map<String,​String> stringStringMap)
                  throws com.atlassian.plugin.PluginParseException
        Specified by:
        init in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition
        Throws:
        com.atlassian.plugin.PluginParseException
      • addToUrl

        public void addToUrl​(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
        Specified by:
        addToUrl in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition
      • shouldDisplay

        public boolean shouldDisplay​(com.atlassian.plugin.webresource.QueryParams queryParams)
        Specified by:
        shouldDisplay in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition