Package com.atlassian.confluence.core
Class ConfluenceSystemProperties
java.lang.Object
com.atlassian.confluence.core.ConfluenceSystemProperties
Query the status of various Confluence system properties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable String
static @Nullable String
static @Nullable String
static @Nullable String
static @Nullable String
static @Nullable String
static @Nullable String
static boolean
static boolean
static boolean
Checks theconfluence.backup.path.set.allowed
property, to see if the backup path can be modified in the admin console.static boolean
static boolean
static boolean
static boolean
static boolean
Check if we want to enable JMX for hazelcast or notstatic boolean
Check if we want to enable JMX for hibernate or notstatic boolean
static boolean
-
Field Details
-
CONFLUENCE_DEV_MODE
- See Also:
-
ATLASSIAN_DEV_MODE
- See Also:
-
-
Constructor Details
-
ConfluenceSystemProperties
public ConfluenceSystemProperties()
-
-
Method Details
-
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
-
getConfluenceFixedCDNPrefix
-
getConfluenceBaseUrlCDNPrefix
-
getTenantTimezoneId
-
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
- Returns:
- The URL of a Hazelcast Management Center service that Confluence cluster nodes should integrate with.
- Since:
- 7.0
-
getHazelcastManagementCenterEnabled
- Returns:
- Whether Hazelcast Management Center enabled or not.
- Since:
- 8.9.0
-