com.atlassian.confluence.status.service.systeminfo
Class ConfluenceInfo

java.lang.Object
  extended by com.atlassian.confluence.status.service.systeminfo.ConfluenceInfo

public class ConfluenceInfo
extends Object

Bean for holding simple non-settings information about the Confluence instance.


Constructor Summary
ConfluenceInfo(I18NBean i18NBean)
           
 
Method Summary
 String getBaseUrl()
           
 String getBuildNumber()
           
 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.
 Settings getGlobalSettings()
           
 String getHome()
           
 String getServerId()
           
 long getStartTime()
           
 String getSupportEntitlementNumber()
           
 String getUpTime()
           
 String getVersion()
           
 boolean isDevMode()
           
 void setBaseUrl(String baseUrl)
           
 void setBuildNumber(String buildNumber)
           
 void setEnabledPlugins(Collection<com.atlassian.plugin.Plugin> plugins)
           
 void setGlobalSettings(Settings globalSettings)
           
 void setHome(String home)
           
 void setServerId(String serverId)
           
 void setStartTime(long startTime)
           
 void setSupportEntitlementNumber(String supportEntitlementNumber)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceInfo

public ConfluenceInfo(I18NBean i18NBean)
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)


Copyright © 2003-2012 Atlassian. All Rights Reserved.