Class ConfluenceSystemProperties

java.lang.Object
com.atlassian.confluence.core.ConfluenceSystemProperties

public class ConfluenceSystemProperties extends Object
Query the status of various Confluence system properties
  • Field Details

  • 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 the confluence.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
    • getHazelcastManagementCenterEnabled

      public static @Nullable String getHazelcastManagementCenterEnabled()
      Returns:
      Whether Hazelcast Management Center enabled or not.
      Since:
      8.9.0