public class ExtendedSystemInfoUtilsImpl extends Object implements ExtendedSystemInfoUtils
Modifier | Constructor and Description |
---|---|
|
ExtendedSystemInfoUtilsImpl(I18nHelper i18nHelper) |
protected |
ExtendedSystemInfoUtilsImpl(SystemInfoUtils systemInfoUtils,
ServiceManager serviceManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
ApplicationProperties applicationProperties,
TrustedApplicationService trustedAppService,
OfBizDelegator ofBizDelegator,
I18nHelper i18nHelper,
HashRegistryCache registry,
LocaleManager localeManager,
Optional<JiraLicenseService> jiraLicenseServiceRef,
BuildUtilsInfo buildUtilsInfo,
Optional<UpgradeVersionHistoryManager> upgradeVersionHistoryManagerRef,
JiraProperties jiraSystemProperties,
ClusterManager clusterManager,
JiraStartStopAnalyticHelper jiraStartStopAnalyticHelper,
DatabaseLatencyMeter databaseLatencyMeter,
FeatureManager featureManager) |
protected ExtendedSystemInfoUtilsImpl(SystemInfoUtils systemInfoUtils, ServiceManager serviceManager, com.atlassian.plugin.PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, TrustedApplicationService trustedAppService, OfBizDelegator ofBizDelegator, I18nHelper i18nHelper, HashRegistryCache registry, LocaleManager localeManager, Optional<JiraLicenseService> jiraLicenseServiceRef, BuildUtilsInfo buildUtilsInfo, Optional<UpgradeVersionHistoryManager> upgradeVersionHistoryManagerRef, JiraProperties jiraSystemProperties, ClusterManager clusterManager, JiraStartStopAnalyticHelper jiraStartStopAnalyticHelper, DatabaseLatencyMeter databaseLatencyMeter, FeatureManager featureManager)
public ExtendedSystemInfoUtilsImpl(I18nHelper i18nHelper)
public SystemInfoUtils getSystemInfoUtils()
getSystemInfoUtils
in interface ExtendedSystemInfoUtils
public Map<String,String> getProps()
ExtendedSystemInfoUtils
getProps
in interface ExtendedSystemInfoUtils
public Map<String,String> getProps(boolean showSensitiveInfo)
getProps
in interface ExtendedSystemInfoUtils
showSensitiveInfo
- Whether to include sensitive system information (e.g. database URL)public Map<String,String> getApplicationPropertiesFormatted(String suffix)
ExtendedSystemInfoUtils
getApplicationPropertiesFormatted
in interface ExtendedSystemInfoUtils
suffix
- the string to add to the suffix of ';' and/or ':'public Map<String,String> getSystemPropertiesFormatted(String suffix)
ExtendedSystemInfoUtils
getSystemPropertiesFormatted
in interface ExtendedSystemInfoUtils
suffix
- the string to add to the suffix of ';' and/or ':'public Map<String,String> getJvmStats()
getJvmStats
in interface ExtendedSystemInfoUtils
public Map<String,String> getCommonConfigProperties()
ExtendedSystemInfoUtils
getCommonConfigProperties
in interface ExtendedSystemInfoUtils
public List<com.atlassian.jdk.utilities.runtimeinformation.MemoryInformation> getMemoryPoolInformation()
getMemoryPoolInformation
in interface ExtendedSystemInfoUtils
public Map<String,String> getBuildStats()
getBuildStats
in interface ExtendedSystemInfoUtils
public List<UpgradeVersionHistoryItem> getUpgradeHistory()
getUpgradeHistory
in interface ExtendedSystemInfoUtils
public String getDefaultLanguage()
getDefaultLanguage
in interface ExtendedSystemInfoUtils
public String getBaseUrl()
getBaseUrl
in interface ExtendedSystemInfoUtils
public boolean isUsingSystemLocale()
ExtendedSystemInfoUtils
isUsingSystemLocale
in interface ExtendedSystemInfoUtils
public Map<String,String> getUsageStats()
getUsageStats
in interface ExtendedSystemInfoUtils
public String getEntityEngineXmlPath()
getEntityEngineXmlPath
in interface ExtendedSystemInfoUtils
public String getLogPath()
getLogPath
in interface ExtendedSystemInfoUtils
public String getIndexLocation()
getIndexLocation
in interface ExtendedSystemInfoUtils
public String getAttachmentsLocation()
getAttachmentsLocation
in interface ExtendedSystemInfoUtils
public String getBackupLocation()
getBackupLocation
in interface ExtendedSystemInfoUtils
public String getJiraHomeLocation()
getJiraHomeLocation
in interface ExtendedSystemInfoUtils
public String getJiraLocalHomeLocation()
getJiraLocalHomeLocation
in interface ExtendedSystemInfoUtils
public Collection<org.ofbiz.core.entity.GenericValue> getListeners()
getListeners
in interface ExtendedSystemInfoUtils
public Collection<JiraServiceContainer> getServices()
getServices
in interface ExtendedSystemInfoUtils
public Map<String,String> getServicePropertyMap(JiraServiceContainer serviceContainer)
getServicePropertyMap
in interface ExtendedSystemInfoUtils
serviceContainer
- the service object to obtain properties forpublic long getMillisecondsToMinutes(long ms)
getMillisecondsToMinutes
in interface ExtendedSystemInfoUtils
ms
- millisecondspublic Collection<com.atlassian.plugin.Plugin> getPlugins()
getPlugins
in interface ExtendedSystemInfoUtils
public boolean isPluginEnabled(com.atlassian.plugin.Plugin plugin)
isPluginEnabled
in interface ExtendedSystemInfoUtils
plugin
- the pluginpublic Set<TrustedApplicationInfo> getTrustedApplications(JiraServiceContext jiraServiceContext)
getTrustedApplications
in interface ExtendedSystemInfoUtils
jiraServiceContext
- the JIRA service contextpublic Set<String> getIPMatches(TrustedApplicationInfo info)
getIPMatches
in interface ExtendedSystemInfoUtils
info
- the trusted applicationpublic Set<String> getUrlMatches(TrustedApplicationInfo info)
getUrlMatches
in interface ExtendedSystemInfoUtils
info
- the trusted applicationpublic boolean isJvmWithPermGen()
isJvmWithPermGen
in interface ExtendedSystemInfoUtils
public boolean isClustered()
isClustered
in interface ExtendedSystemInfoUtils
public Map<Node,Boolean> getClusterNodeInformation()
getClusterNodeInformation
in interface ExtendedSystemInfoUtils
Copyright © 2002-2019 Atlassian. All Rights Reserved.