Class ClusterUrlReadingCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.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 Summary
Constructors Constructor Description ClusterUrlReadingCondition(ClusterManager clusterManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
void
init(Map<String,String> stringStringMap)
boolean
shouldDisplay(com.atlassian.plugin.webresource.QueryParams queryParams)
-
-
-
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 interfacecom.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 interfacecom.atlassian.plugin.webresource.condition.UrlReadingCondition
-
shouldDisplay
public boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams queryParams)
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.webresource.condition.UrlReadingCondition
-
-