com.atlassian.confluence.status.service.systeminfo
Class ConfluenceInfo
java.lang.Object
com.atlassian.confluence.status.service.systeminfo.ConfluenceInfo
public class ConfluenceInfo
- extends Object
Bean for holding simple non-settings information about the Confluence instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceInfo
public ConfluenceInfo(I18NBean i18NBean)
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)
Copyright © 2003-2012 Atlassian. All Rights Reserved.