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 Stringstatic @Nullable Stringstatic @Nullable Stringstatic @Nullable Stringstatic @Nullable Stringstatic @Nullable Stringstatic @Nullable Stringstatic booleanstatic booleanstatic booleanChecks theconfluence.backup.path.set.allowedproperty, to see if the backup path can be modified in the admin console.static booleanstatic booleanstatic booleanstatic booleanstatic booleanCheck if we want to enable JMX for hibernate or notstatic booleanCheck if we want to enable JMX for nutcluster or notstatic booleanstatic 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.allowedproperty, to see if the backup path can be modified in the admin console.- Returns:
- true iff the property is set to 'true'
-
isEnableNutclusterJMX
public static boolean isEnableNutclusterJMX()Check if we want to enable JMX for nutcluster 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
-
getNutclusterManagementCenterUrl
- Returns:
- The URL of a Nutcluster Management Center service that Confluence cluster nodes should integrate with.
- Since:
- 7.0
-
getNutclusterManagementCenterEnabled
- Returns:
- Whether Nutcluster Management Center enabled or not.
- Since:
- 8.9.0
-