public class

ExtendedSystemInfoUtilsImpl

extends Object
implements ExtendedSystemInfoUtils
java.lang.Object
   ↳ com.atlassian.jira.util.system.ExtendedSystemInfoUtilsImpl

Class Overview

Implementation for the ExtendedSystemInfoUtils interface.

Summary

Public Constructors
ExtendedSystemInfoUtilsImpl(I18nHelper i18nHelper)
Protected Constructors
ExtendedSystemInfoUtilsImpl(SystemInfoUtils systemInfoUtils, ServiceManager serviceManager, PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, TrustedApplicationService trustedAppService, OfBizDelegator ofBizDelegator, I18nHelper i18nHelper, UserUtil userUtil, HashRegistryCache registry, LocaleManager localeManager, JiraLicenseService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, UpgradeManager upgradeManager, IssueIndexManager indexManager, JiraProperties jiraSystemProperties, ClusterManager clusterManager)
Public Methods
Map<StringString> getApplicationPropertiesFormatted(String suffix)
For each application property, display the key and its value.
String getAttachmentsLocation()
String getBackupLocation()
String getBaseUrl()
Map<StringString> getBuildStats()
Map<StringString> getCommonConfigProperties()
The common configuration properties that apply to this instance of JIRA
String getDefaultLanguage()
String getEntityEngineXmlPath()
Set<String> getIPMatches(TrustedApplicationInfo info)
String getIndexLocation()
String getJiraHomeLocation()
String getJiraLocalHomeLocation()
Map<StringString> getJvmStats()
Map<StringString> getLicenseInfo()
Collection<GenericValue> getListeners()
String getLogPath()
List<MemoryInformation> getMemoryPoolInformation()
long getMillisecondsToMinutes(long ms)
Collection<Plugin> getPlugins()
Map<StringString> getProps(boolean showSensitiveInfo)
Map<StringString> getProps()
Default is to hide sensitive system information (for the 500 page, etc.)
Map<StringString> getServicePropertyMap(JiraServiceContainer serviceContainer)
Collection<JiraServiceContainer> getServices()
SystemInfoUtils getSystemInfoUtils()
Map<StringString> getSystemPropertiesFormatted(String suffix)
For each system properties, display the key and its value.
Set<TrustedApplicationInfo> getTrustedApplications(JiraServiceContext jiraServiceContext)
List<UpgradeHistoryItem> getUpgradeHistory()
Set<String> getUrlMatches(TrustedApplicationInfo info)
Map<StringString> getUsageStats()
boolean isJvmJava5OrGreater()
boolean isJvmWithPermGen()
boolean isPluginEnabled(Plugin plugin)
boolean isUsingSystemLocale()
Checks whether the default locale has been set or not.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.system.ExtendedSystemInfoUtils

Public Constructors

public ExtendedSystemInfoUtilsImpl (I18nHelper i18nHelper)

Protected Constructors

protected ExtendedSystemInfoUtilsImpl (SystemInfoUtils systemInfoUtils, ServiceManager serviceManager, PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, TrustedApplicationService trustedAppService, OfBizDelegator ofBizDelegator, I18nHelper i18nHelper, UserUtil userUtil, HashRegistryCache registry, LocaleManager localeManager, JiraLicenseService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, UpgradeManager upgradeManager, IssueIndexManager indexManager, JiraProperties jiraSystemProperties, ClusterManager clusterManager)

Public Methods

public Map<StringString> getApplicationPropertiesFormatted (String suffix)

For each application property, display the key and its value. If the value is a path, then break the paths at semi colons ';' (For non-windows operatin systems, breaks on colon ':' as well). The break is accomplished by replacing the ';' or ':' with the suffix string argument

Parameters
suffix the string to add to the suffix of ';' and/or ':'
Returns
  • Map of system property keys to its value

public String getAttachmentsLocation ()

public String getBackupLocation ()

public String getBaseUrl ()

public Map<StringString> getBuildStats ()

public Map<StringString> getCommonConfigProperties ()

The common configuration properties that apply to this instance of JIRA

Returns
  • a Map of property names to

public String getDefaultLanguage ()

public String getEntityEngineXmlPath ()

public Set<String> getIPMatches (TrustedApplicationInfo info)

public String getIndexLocation ()

public String getJiraHomeLocation ()

public String getJiraLocalHomeLocation ()

public Map<StringString> getJvmStats ()

public Map<StringString> getLicenseInfo ()

public Collection<GenericValue> getListeners ()

public String getLogPath ()

public List<MemoryInformation> getMemoryPoolInformation ()

public long getMillisecondsToMinutes (long ms)

public Collection<Plugin> getPlugins ()

public Map<StringString> getProps (boolean showSensitiveInfo)

public Map<StringString> getProps ()

Default is to hide sensitive system information (for the 500 page, etc.)

Returns
  • an ordered map of system properties

public Map<StringString> getServicePropertyMap (JiraServiceContainer serviceContainer)

public Collection<JiraServiceContainer> getServices ()

public SystemInfoUtils getSystemInfoUtils ()

public Map<StringString> getSystemPropertiesFormatted (String suffix)

For each system properties, display the key and its value. If the value is a path, then break the paths at semi colons ';' (For non-windows operatin systems, breaks on colon ':' as well). The break is accomplished by replacing the ';' or ':' with the suffix string argument

Parameters
suffix the string to add to the suffix of ';' and/or ':'
Returns
  • Map of system property keys to its value

public Set<TrustedApplicationInfo> getTrustedApplications (JiraServiceContext jiraServiceContext)

public List<UpgradeHistoryItem> getUpgradeHistory ()

public Set<String> getUrlMatches (TrustedApplicationInfo info)

public Map<StringString> getUsageStats ()

public boolean isJvmJava5OrGreater ()

public boolean isJvmWithPermGen ()

public boolean isPluginEnabled (Plugin plugin)

public boolean isUsingSystemLocale ()

Checks whether the default locale has been set or not.

Returns
  • true if default locale is set, false if using system locale