Package com.atlassian.confluence.core
Class ConfluenceSystemProperties
- java.lang.Object
-
- com.atlassian.confluence.core.ConfluenceSystemProperties
-
public class ConfluenceSystemProperties extends Object
Query the status of various Confluence system properties
-
-
Constructor Summary
Constructors Constructor Description ConfluenceSystemProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable StringgetConfluenceBaseUrlCDNPrefix()static @Nullable StringgetConfluenceFixedCDNPrefix()static @Nullable StringgetConfluenceFrontendServiceURL()static @Nullable StringgetHazelcastManagementCenterUrl()static @Nullable StringgetHumanReadableClusterNodeName()static @Nullable StringgetTenantTimezoneId()static booleanisAjsLogRendered()static booleanisAjsLogVisible()static booleanisBackupPathSetAllowed()Checks theconfluence.backup.path.set.allowedproperty, to see if the backup path can be modified in the admin console.static booleanisBundledPluginsDisabled()static booleanisContextBatchingDisabled()static booleanisDevMode()static booleanisDisableCaches()static booleanisEnableHazelcastJMX()Check if we want to enable JMX for hazelcast or notstatic booleanisEnableHibernateJMX()Check if we want to enable JMX for hibernate or notstatic booleanisSynchronyDisabled()static booleanisUseHostnameAsHumanReadableClusterNodeName()
-
-
-
Method Detail
-
isDevMode
public static boolean isDevMode()
- Returns:
- true if Confluence development mode is enabled
-
isDisableCaches
public static boolean isDisableCaches()
-
isBundledPluginsDisabled
public static boolean isBundledPluginsDisabled()
- Returns:
- true if bundled plugins are disabled
-
isBackupPathSetAllowed
public static boolean isBackupPathSetAllowed()
Checks theconfluence.backup.path.set.allowedproperty, to see if the backup path can be modified in the admin console.- Returns:
- true iff the property is set to 'true'
-
isEnableHazelcastJMX
public static boolean isEnableHazelcastJMX()
Check if we want to enable JMX for hazelcast or not- Returns:
- true iff the property is set to 'true'
-
isEnableHibernateJMX
public static boolean isEnableHibernateJMX()
Check if we want to enable JMX for hibernate or not- Returns:
- true iff the property is set to 'true'
-
isAjsLogRendered
public static boolean isAjsLogRendered()
-
isAjsLogVisible
public static boolean isAjsLogVisible()
-
isContextBatchingDisabled
public static boolean isContextBatchingDisabled()
-
getConfluenceFrontendServiceURL
public static @Nullable String getConfluenceFrontendServiceURL()
-
getConfluenceFixedCDNPrefix
public static @Nullable String getConfluenceFixedCDNPrefix()
-
getConfluenceBaseUrlCDNPrefix
public static @Nullable String getConfluenceBaseUrlCDNPrefix()
-
getTenantTimezoneId
public static @Nullable String getTenantTimezoneId()
-
getHumanReadableClusterNodeName
public static @Nullable String getHumanReadableClusterNodeName()
-
isUseHostnameAsHumanReadableClusterNodeName
public static boolean isUseHostnameAsHumanReadableClusterNodeName()
- Since:
- 7.11
-
isSynchronyDisabled
public static boolean isSynchronyDisabled()
- Returns:
- true if Synchrony BTF must be disabled (e.g. for the Data Center setup)
- Since:
- 6.0
-
getHazelcastManagementCenterUrl
public static @Nullable String getHazelcastManagementCenterUrl()
- Returns:
- The URL of a Hazelcast Management Center service that Confluence cluster nodes should integrate with.
- Since:
- 7.0
-
-