Class ConfluenceInfo
java.lang.Object
com.atlassian.confluence.status.service.systeminfo.ConfluenceInfo
Bean for holding simple non-settings information about the Confluence instance.
-
Constructor Summary
ConstructorsConstructorDescriptionConfluenceInfo(I18NBean i18NBean) ConfluenceInfo(Supplier<ResourceBundle> resourceBundleSupplier) -
Method Summary
Modifier and TypeMethodDescriptionList<com.atlassian.plugin.Plugin> Returns the list of enabledPluginobjects ordered by name, or an empty list if the currently enabled plugins could not be determined.getHome()intlongbooleanvoidsetBaseUrl(String baseUrl) voidsetBuildNumber(String buildNumber) voidsetEnabledPlugins(Collection<com.atlassian.plugin.Plugin> plugins) voidsetGlobalSettings(Settings globalSettings) voidvoidsetInstallationDate(Date installationDate) voidsetMaxUsers(int maxUsers) voidsetServerId(String serverId) voidsetStartTime(long startTime) voidsetSupportEntitlementNumber(String supportEntitlementNumber) voidsetVersion(String version)
-
Constructor Details
-
ConfluenceInfo
-
ConfluenceInfo
- Since:
- 9.1
-
-
Method Details
-
getHome
-
setHome
-
getBuildNumber
-
setBuildNumber
-
getVersion
-
setVersion
-
getStartTime
public long getStartTime() -
setStartTime
public void setStartTime(long startTime) -
getGlobalSettings
-
setGlobalSettings
-
getBaseUrl
-
setBaseUrl
-
getServerId
-
setServerId
-
getUpTime
- Returns:
- a readable String representation of system uptime based on the
startTimeproperty.
-
getEnabledPlugins
Returns the list of enabledPluginobjects ordered by name, or an empty list if the currently enabled plugins could not be determined. -
setEnabledPlugins
-
isDevMode
public boolean isDevMode()- Returns:
- true if Confluence development mode is enabled
-
getSupportEntitlementNumber
-
setSupportEntitlementNumber
-
getInstallationDate
-
setInstallationDate
-
getMaxUsers
public int getMaxUsers() -
setMaxUsers
public void setMaxUsers(int maxUsers)
-