|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.system.ExtendedSystemInfoUtilsImpl
public class ExtendedSystemInfoUtilsImpl
Implementation for the ExtendedSystemInfoUtils interface.
Constructor Summary | |
---|---|
|
ExtendedSystemInfoUtilsImpl(I18nHelper i18nHelper)
|
protected |
ExtendedSystemInfoUtilsImpl(SystemInfoUtils systemInfoUtils,
ServiceManager serviceManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
ApplicationProperties applicationProperties,
TrustedApplicationService trustedAppService,
org.ofbiz.core.entity.GenericDelegator delegator,
I18nHelper i18nHelper,
UserUtil userUtil,
HashRegistryCache registry,
LocaleManager localeManager,
JiraLicenseService jiraLicenseService,
BuildUtilsInfo buildUtilsInfo,
UpgradeManager upgradeManager,
IssueIndexManager indexManager)
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getApplicationPropertiesFormatted(java.lang.String suffix)
For each application property, display the key and its value. |
java.lang.String |
getBaseUrl()
|
java.util.Map<java.lang.String,java.lang.String> |
getBuildStats()
|
java.util.Map<java.lang.String,java.lang.String> |
getCommonConfigProperties()
The common configuration properties that apply to this instance of JIRA |
java.lang.String |
getDefaultLanguage()
|
java.lang.String |
getEntityEngineXmlPath()
|
java.lang.String |
getIndexLocation()
|
java.util.Set<java.lang.String> |
getIPMatches(TrustedApplicationInfo info)
|
java.lang.String |
getJiraHomeLocation()
|
java.util.Map<java.lang.String,java.lang.String> |
getJvmStats()
|
java.util.Map<java.lang.String,java.lang.String> |
getLicenseInfo()
|
java.util.Collection<org.ofbiz.core.entity.GenericValue> |
getListeners()
|
java.lang.String |
getLogPath()
|
java.util.List<com.atlassian.jdk.utilities.runtimeinformation.MemoryInformation> |
getMemoryPoolInformation()
|
long |
getMillisecondsToMinutes(long ms)
|
java.util.Collection<com.atlassian.plugin.Plugin> |
getPlugins()
|
java.util.Map<java.lang.String,java.lang.String> |
getProps()
Default is to hide sensitive system information (for the 500 page, etc.) |
java.util.Map<java.lang.String,java.lang.String> |
getProps(boolean showSensitiveInfo)
|
java.util.Map<java.lang.String,java.lang.String> |
getServicePropertyMap(JiraServiceContainer serviceContainer)
|
java.util.Collection<JiraServiceContainer> |
getServices()
|
SystemInfoUtils |
getSystemInfoUtils()
|
java.util.Map<java.lang.String,java.lang.String> |
getSystemPropertiesFormatted(java.lang.String suffix)
For each system properties, display the key and its value. |
java.util.Set<TrustedApplicationInfo> |
getTrustedApplications(JiraServiceContext jiraServiceContext)
|
java.util.List<UpgradeHistoryItem> |
getUpgradeHistory()
|
java.util.Set<java.lang.String> |
getUrlMatches(TrustedApplicationInfo info)
|
java.util.Map<java.lang.String,java.lang.String> |
getUsageStats()
|
boolean |
isJvmJava5OrGreater()
|
boolean |
isPluginEnabled(com.atlassian.plugin.Plugin plugin)
|
boolean |
isUsingSystemLocale()
Checks whether the default locale has been set or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExtendedSystemInfoUtilsImpl(SystemInfoUtils systemInfoUtils, ServiceManager serviceManager, com.atlassian.plugin.PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, TrustedApplicationService trustedAppService, org.ofbiz.core.entity.GenericDelegator delegator, I18nHelper i18nHelper, UserUtil userUtil, HashRegistryCache registry, LocaleManager localeManager, JiraLicenseService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, UpgradeManager upgradeManager, IssueIndexManager indexManager)
public ExtendedSystemInfoUtilsImpl(I18nHelper i18nHelper)
Method Detail |
---|
public SystemInfoUtils getSystemInfoUtils()
getSystemInfoUtils
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getProps()
ExtendedSystemInfoUtils
getProps
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getProps(boolean showSensitiveInfo)
getProps
in interface ExtendedSystemInfoUtils
showSensitiveInfo
- Whether to include sensitive system information (e.g. database URL)
public java.util.Map<java.lang.String,java.lang.String> getApplicationPropertiesFormatted(java.lang.String suffix)
ExtendedSystemInfoUtils
getApplicationPropertiesFormatted
in interface ExtendedSystemInfoUtils
suffix
- the string to add to the suffix of ';' and/or ':'
public java.util.Map<java.lang.String,java.lang.String> getSystemPropertiesFormatted(java.lang.String suffix)
ExtendedSystemInfoUtils
getSystemPropertiesFormatted
in interface ExtendedSystemInfoUtils
suffix
- the string to add to the suffix of ';' and/or ':'
public java.util.Map<java.lang.String,java.lang.String> getLicenseInfo()
getLicenseInfo
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getJvmStats()
getJvmStats
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getCommonConfigProperties()
ExtendedSystemInfoUtils
getCommonConfigProperties
in interface ExtendedSystemInfoUtils
public java.util.List<com.atlassian.jdk.utilities.runtimeinformation.MemoryInformation> getMemoryPoolInformation()
getMemoryPoolInformation
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getBuildStats()
getBuildStats
in interface ExtendedSystemInfoUtils
public java.util.List<UpgradeHistoryItem> getUpgradeHistory()
getUpgradeHistory
in interface ExtendedSystemInfoUtils
public java.lang.String getDefaultLanguage()
getDefaultLanguage
in interface ExtendedSystemInfoUtils
public java.lang.String getBaseUrl()
getBaseUrl
in interface ExtendedSystemInfoUtils
public boolean isUsingSystemLocale()
ExtendedSystemInfoUtils
isUsingSystemLocale
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getUsageStats()
getUsageStats
in interface ExtendedSystemInfoUtils
public java.lang.String getEntityEngineXmlPath()
getEntityEngineXmlPath
in interface ExtendedSystemInfoUtils
public java.lang.String getLogPath()
getLogPath
in interface ExtendedSystemInfoUtils
public java.lang.String getIndexLocation()
getIndexLocation
in interface ExtendedSystemInfoUtils
public java.lang.String getJiraHomeLocation()
getJiraHomeLocation
in interface ExtendedSystemInfoUtils
public java.util.Collection<org.ofbiz.core.entity.GenericValue> getListeners()
getListeners
in interface ExtendedSystemInfoUtils
public java.util.Collection<JiraServiceContainer> getServices()
getServices
in interface ExtendedSystemInfoUtils
public java.util.Map<java.lang.String,java.lang.String> getServicePropertyMap(JiraServiceContainer serviceContainer)
getServicePropertyMap
in interface ExtendedSystemInfoUtils
serviceContainer
- the service object to obtain properties for
public long getMillisecondsToMinutes(long ms)
getMillisecondsToMinutes
in interface ExtendedSystemInfoUtils
ms
- milliseconds
public java.util.Collection<com.atlassian.plugin.Plugin> getPlugins()
getPlugins
in interface ExtendedSystemInfoUtils
public boolean isPluginEnabled(com.atlassian.plugin.Plugin plugin)
isPluginEnabled
in interface ExtendedSystemInfoUtils
plugin
- the plugin
public java.util.Set<TrustedApplicationInfo> getTrustedApplications(JiraServiceContext jiraServiceContext)
getTrustedApplications
in interface ExtendedSystemInfoUtils
jiraServiceContext
- the JIRA service context
public java.util.Set<java.lang.String> getIPMatches(TrustedApplicationInfo info)
getIPMatches
in interface ExtendedSystemInfoUtils
info
- the trusted application
public java.util.Set<java.lang.String> getUrlMatches(TrustedApplicationInfo info)
getUrlMatches
in interface ExtendedSystemInfoUtils
info
- the trusted application
public boolean isJvmJava5OrGreater()
isJvmJava5OrGreater
in interface ExtendedSystemInfoUtils
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |