Class ConfluenceInfo


  • public class ConfluenceInfo
    extends Object
    Bean for holding simple non-settings information about the Confluence instance.
    • Constructor Detail

      • ConfluenceInfo

        public ConfluenceInfo​(I18NBean i18NBean)
      • ConfluenceInfo

        public ConfluenceInfo​(com.atlassian.util.concurrent.Supplier<ResourceBundle> resourceBundleSupplier)
    • Method Detail

      • getHome

        public String getHome()
      • setHome

        public void setHome​(String home)
      • getBuildNumber

        public String getBuildNumber()
      • setBuildNumber

        public void setBuildNumber​(String buildNumber)
      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • getStartTime

        public long getStartTime()
      • setStartTime

        public void setStartTime​(long startTime)
      • getGlobalSettings

        public Settings getGlobalSettings()
      • setGlobalSettings

        public void setGlobalSettings​(Settings globalSettings)
      • getBaseUrl

        public String getBaseUrl()
      • setBaseUrl

        public void setBaseUrl​(String baseUrl)
      • getServerId

        public String getServerId()
      • setServerId

        public void setServerId​(String serverId)
      • getUpTime

        public String getUpTime()
        Returns:
        a readable String representation of system uptime based on the startTime property.
      • getEnabledPlugins

        public List<com.atlassian.plugin.Plugin> getEnabledPlugins()
        Returns the list of enabled Plugin objects ordered by name, or an empty list if the currently enabled plugins could not be determined.
      • setEnabledPlugins

        public void setEnabledPlugins​(Collection<com.atlassian.plugin.Plugin> plugins)
      • isDevMode

        public boolean isDevMode()
        Returns:
        true if Confluence development mode is enabled
      • getSupportEntitlementNumber

        public String getSupportEntitlementNumber()
      • setSupportEntitlementNumber

        public void setSupportEntitlementNumber​(String supportEntitlementNumber)
      • getInstallationDate

        public Date getInstallationDate()
      • setInstallationDate

        public void setInstallationDate​(Date installationDate)
      • getMaxUsers

        public int getMaxUsers()
      • setMaxUsers

        public void setMaxUsers​(int maxUsers)