com.atlassian.jira.web.action.admin
Class ViewSystemInfo
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.ViewSystemInfo
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- JiraSupportRequest
public class ViewSystemInfo
- extends JiraWebActionSupport
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isUserExists, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface webwork.action.CommandDriven |
setCommand |
sysProps
Properties sysProps
props
Map props
dateFormatter
DateFormat dateFormatter
timeFormatter
DateFormat timeFormatter
LOG_FILE
static final String LOG_FILE
- See Also:
- Constant Field Values
ViewSystemInfo
public ViewSystemInfo(SystemInfoUtils systemInfoUtils,
ServiceManager serviceManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
ApplicationProperties applicationProperties)
doGarbageCollection
public String doGarbageCollection()
getProps
public Map getProps()
- Default is to hide sensitive system information (for the 500 page, etc.)
- Returns:
- an ordered map of system properties
getProps
public Map getProps(boolean showSensitiveInfo)
- Parameters:
showSensitiveInfo
- Whether to include sensitive system information (e.g. database URL)
- Returns:
- an ordered map of system properties
getDatabaseType
public String getDatabaseType()
getUsedMemory
public long getUsedMemory()
getFreeMemory
public long getFreeMemory()
getTotalMemory
public long getTotalMemory()
getJvmStats
public Map getJvmStats()
getBuildStats
public Map getBuildStats()
getUsageStats
public Map getUsageStats()
getEntityEngineXmlPath
public String getEntityEngineXmlPath()
getLogPath
public String getLogPath()
getIndexLocation
public String getIndexLocation()
getListeners
public Collection getListeners()
getServices
public Collection getServices()
getServicePropertyMap
public Map getServicePropertyMap(JiraServiceContainer serviceContainer)
throws Exception
- Throws:
Exception
getMillisecondsToMinutes
public long getMillisecondsToMinutes(long ms)
getPlugins
public Collection getPlugins()
isPluginEnabled
public boolean isPluginEnabled(com.atlassian.plugin.Plugin plugin)
Copyright © 2002-2007 Atlassian. All Rights Reserved.