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 enabledPlugin
objects ordered by name, or an empty list if the currently enabled plugins could not be determined.getHome()
int
long
boolean
void
setBaseUrl
(String baseUrl) void
setBuildNumber
(String buildNumber) void
setEnabledPlugins
(Collection<com.atlassian.plugin.Plugin> plugins) void
setGlobalSettings
(Settings globalSettings) void
void
setInstallationDate
(Date installationDate) void
setMaxUsers
(int maxUsers) void
setServerId
(String serverId) void
setStartTime
(long startTime) void
setSupportEntitlementNumber
(String supportEntitlementNumber) void
setVersion
(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
startTime
property.
-
getEnabledPlugins
Returns the list of enabledPlugin
objects 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)
-