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
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATLASSIAN_DEV_MODE
static String
CONFLUENCE_DEV_MODE
-
Constructor Summary
Constructors Constructor Description ConfluenceSystemProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable String
getConfluenceBaseUrlCDNPrefix()
static @Nullable String
getConfluenceFixedCDNPrefix()
static @Nullable String
getConfluenceFrontendServiceURL()
static @Nullable String
getHazelcastManagementCenterUrl()
static @Nullable String
getHumanReadableClusterNodeName()
static @Nullable String
getTenantTimezoneId()
static boolean
isAjsLogRendered()
static boolean
isAjsLogVisible()
static boolean
isBackupPathSetAllowed()
Checks theconfluence.backup.path.set.allowed
property, to see if the backup path can be modified in the admin console.static boolean
isBundledPluginsDisabled()
static boolean
isContextBatchingDisabled()
static boolean
isDevMode()
static boolean
isDisableCaches()
static boolean
isEnableHazelcastJMX()
Check if we want to enable JMX for hazelcast or notstatic boolean
isEnableHibernateJMX()
Check if we want to enable JMX for hibernate or notstatic boolean
isSynchronyDisabled()
static boolean
isUseHostnameAsHumanReadableClusterNodeName()
-
-
-
Field Detail
-
CONFLUENCE_DEV_MODE
public static final String CONFLUENCE_DEV_MODE
- See Also:
- Constant Field Values
-
ATLASSIAN_DEV_MODE
public static final String ATLASSIAN_DEV_MODE
- See Also:
- Constant Field Values
-
-
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.allowed
property, 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
-
-