Class Overview
Implementation for the ExtendedSystemInfoUtils interface.
Summary
Protected Constructors |
|
ExtendedSystemInfoUtilsImpl(SystemInfoUtils systemInfoUtils, ServiceManager serviceManager, PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, TrustedApplicationService trustedAppService, OfBizDelegator ofBizDelegator, I18nHelper i18nHelper, HashRegistryCache registry, LocaleManager localeManager, JiraLicenseService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, UpgradeManager upgradeManager, JiraProperties jiraSystemProperties, ClusterManager clusterManager, JiraStartStopAnalyticHelper jiraStartStopAnalyticHelper)
|
Public Methods |
Map<String, String>
|
getApplicationPropertiesFormatted(String suffix)
For each application property, display the key and its value.
|
String
|
getAttachmentsLocation()
|
String
|
getBackupLocation()
|
String
|
getBaseUrl()
|
Map<String, String>
|
getBuildStats()
|
Map<Node, Boolean>
|
getClusterNodeInformation()
|
Map<String, String>
|
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<String, String>
|
getJvmStats()
|
Collection<GenericValue>
|
getListeners()
|
String
|
getLogPath()
|
List<MemoryInformation>
|
getMemoryPoolInformation()
|
long
|
getMillisecondsToMinutes(long ms)
|
Collection<Plugin>
|
getPlugins()
|
Map<String, String>
|
getProps()
Default is to hide sensitive system information (for the 500 page, etc.)
|
Map<String, String>
|
getProps(boolean showSensitiveInfo)
|
Map<String, String>
|
getServicePropertyMap(JiraServiceContainer serviceContainer)
|
Collection<JiraServiceContainer>
|
getServices()
|
SystemInfoUtils
|
getSystemInfoUtils()
|
Map<String, String>
|
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<String, String>
|
getUsageStats()
|
boolean
|
isClustered()
|
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
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.jira.util.system.ExtendedSystemInfoUtils
Map<String, String>
|
getApplicationPropertiesFormatted(String suffix)
For each application property, display the key and its value.
|
String
|
getAttachmentsLocation()
|
String
|
getBackupLocation()
|
String
|
getBaseUrl()
|
Map<String, String>
|
getBuildStats()
|
Map<Node, Boolean>
|
getClusterNodeInformation()
|
Map<String, String>
|
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<String, String>
|
getJvmStats()
|
Collection<GenericValue>
|
getListeners()
|
String
|
getLogPath()
|
List<MemoryInformation>
|
getMemoryPoolInformation()
|
long
|
getMillisecondsToMinutes(long ms)
|
Collection<Plugin>
|
getPlugins()
|
Map<String, String>
|
getProps()
Default is to hide sensitive system information (for the 500 page, etc.)
|
Map<String, String>
|
getProps(boolean showSensitiveInfo)
|
Map<String, String>
|
getServicePropertyMap(JiraServiceContainer serviceContainer)
|
Collection<JiraServiceContainer>
|
getServices()
|
SystemInfoUtils
|
getSystemInfoUtils()
|
Map<String, String>
|
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<String, String>
|
getUsageStats()
|
boolean
|
isClustered()
|
boolean
|
isJvmJava5OrGreater()
|
boolean
|
isJvmWithPermGen()
|
boolean
|
isPluginEnabled(Plugin plugin)
|
boolean
|
isUsingSystemLocale()
Checks whether the default locale has been set or not.
|
|
Public Constructors
public
ExtendedSystemInfoUtilsImpl
(I18nHelper i18nHelper)
Protected Constructors
Public Methods
public
Map<String, String>
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
Map<String, String>
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
String
getIndexLocation
()
public
String
getJiraHomeLocation
()
public
String
getJiraLocalHomeLocation
()
public
List<MemoryInformation>
getMemoryPoolInformation
()
public
long
getMillisecondsToMinutes
(long ms)
Default is to hide sensitive system information (for the 500 page, etc.)
Returns
- an ordered map of system properties
public
Map<String, String>
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
boolean
isClustered
()
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