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) |
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)
public ExtendedSystemInfoUtilsImpl(I18nHelper i18nHelper)
public SystemInfoUtils getSystemInfoUtils()
getSystemInfoUtils in interface ExtendedSystemInfoUtilspublic Map<String,String> getProps()
ExtendedSystemInfoUtilsgetProps in interface ExtendedSystemInfoUtilspublic Map<String,String> getProps(boolean showSensitiveInfo)
getProps in interface ExtendedSystemInfoUtilsshowSensitiveInfo - Whether to include sensitive system information (e.g. database URL)public Map<String,String> getApplicationPropertiesFormatted(String suffix)
ExtendedSystemInfoUtilsgetApplicationPropertiesFormatted in interface ExtendedSystemInfoUtilssuffix - the string to add to the suffix of ';' and/or ':'public Map<String,String> getSystemPropertiesFormatted(String suffix)
ExtendedSystemInfoUtilsgetSystemPropertiesFormatted in interface ExtendedSystemInfoUtilssuffix - the string to add to the suffix of ';' and/or ':'public Map<String,String> getJvmStats()
getJvmStats in interface ExtendedSystemInfoUtilspublic Map<String,String> getCommonConfigProperties()
ExtendedSystemInfoUtilsgetCommonConfigProperties in interface ExtendedSystemInfoUtilspublic List<com.atlassian.jdk.utilities.runtimeinformation.MemoryInformation> getMemoryPoolInformation()
getMemoryPoolInformation in interface ExtendedSystemInfoUtilspublic Map<String,String> getBuildStats()
getBuildStats in interface ExtendedSystemInfoUtilspublic List<UpgradeVersionHistoryItem> getUpgradeHistory()
getUpgradeHistory in interface ExtendedSystemInfoUtilspublic String getDefaultLanguage()
getDefaultLanguage in interface ExtendedSystemInfoUtilspublic String getBaseUrl()
getBaseUrl in interface ExtendedSystemInfoUtilspublic boolean isUsingSystemLocale()
ExtendedSystemInfoUtilsisUsingSystemLocale in interface ExtendedSystemInfoUtilspublic Map<String,String> getUsageStats()
getUsageStats in interface ExtendedSystemInfoUtilspublic String getEntityEngineXmlPath()
getEntityEngineXmlPath in interface ExtendedSystemInfoUtilspublic String getLogPath()
getLogPath in interface ExtendedSystemInfoUtilspublic String getIndexLocation()
getIndexLocation in interface ExtendedSystemInfoUtilspublic String getAttachmentsLocation()
getAttachmentsLocation in interface ExtendedSystemInfoUtilspublic String getBackupLocation()
getBackupLocation in interface ExtendedSystemInfoUtilspublic String getJiraHomeLocation()
getJiraHomeLocation in interface ExtendedSystemInfoUtilspublic String getJiraLocalHomeLocation()
getJiraLocalHomeLocation in interface ExtendedSystemInfoUtilspublic Collection<org.ofbiz.core.entity.GenericValue> getListeners()
getListeners in interface ExtendedSystemInfoUtilspublic Collection<JiraServiceContainer> getServices()
getServices in interface ExtendedSystemInfoUtilspublic Map<String,String> getServicePropertyMap(JiraServiceContainer serviceContainer)
getServicePropertyMap in interface ExtendedSystemInfoUtilsserviceContainer - the service object to obtain properties forpublic long getMillisecondsToMinutes(long ms)
getMillisecondsToMinutes in interface ExtendedSystemInfoUtilsms - millisecondspublic Collection<com.atlassian.plugin.Plugin> getPlugins()
getPlugins in interface ExtendedSystemInfoUtilspublic boolean isPluginEnabled(com.atlassian.plugin.Plugin plugin)
isPluginEnabled in interface ExtendedSystemInfoUtilsplugin - the pluginpublic Set<TrustedApplicationInfo> getTrustedApplications(JiraServiceContext jiraServiceContext)
getTrustedApplications in interface ExtendedSystemInfoUtilsjiraServiceContext - the JIRA service contextpublic Set<String> getIPMatches(TrustedApplicationInfo info)
getIPMatches in interface ExtendedSystemInfoUtilsinfo - the trusted applicationpublic Set<String> getUrlMatches(TrustedApplicationInfo info)
getUrlMatches in interface ExtendedSystemInfoUtilsinfo - the trusted applicationpublic boolean isJvmJava5OrGreater()
isJvmJava5OrGreater in interface ExtendedSystemInfoUtilspublic boolean isJvmWithPermGen()
isJvmWithPermGen in interface ExtendedSystemInfoUtilspublic boolean isClustered()
isClustered in interface ExtendedSystemInfoUtilspublic Map<Node,Boolean> getClusterNodeInformation()
getClusterNodeInformation in interface ExtendedSystemInfoUtilsCopyright © 2002-2017 Atlassian. All Rights Reserved.