com.atlassian.confluence.admin.actions
Class RaiseSupportRequestAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.ViewSystemInfoAction
com.atlassian.confluence.admin.actions.RaiseSupportRequestAction
- All Implemented Interfaces:
- Administrative, WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
public class RaiseSupportRequestAction
- extends ViewSystemInfoAction
An action to gather and e-mail information about the system to Atlassian. The ViewSystemInfoAction is
extended since it provides much of the necessary information. Additional information is retrieved such as
which plugins are installed.
It should be noted that the absence of a configured mail server will not prevent e-mails being
created. They will still be added to the mail queue. However, the user of the action should be
made aware of the situation.
- Author:
- Paul Curren
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RaiseSupportRequestAction
public RaiseSupportRequestAction()
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Override the default behaviour to also set any default values for the form.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
java.lang.Exception
- if something goes wrong
execute
public java.lang.String execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Overrides:
execute
in class ViewSystemInfoAction
- Throws:
java.lang.Exception
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
getToAddresses
public java.lang.String getToAddresses()
- Returns:
- The system wide support address that has been configured under general configuration
getCcAddresses
public java.lang.String getCcAddresses()
setCcAddresses
public void setCcAddresses(java.lang.String ccAddresses)
getSubject
public java.lang.String getSubject()
setSubject
public void setSubject(java.lang.String subject)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getExistingRequest
public java.lang.String getExistingRequest()
setExistingRequest
public void setExistingRequest(java.lang.String existingRequest)
getContactName
public java.lang.String getContactName()
setContactName
public void setContactName(java.lang.String contactName)
getContactEmail
public java.lang.String getContactEmail()
setContactEmail
public void setContactEmail(java.lang.String contactEmail)
getContactNumber
public java.lang.String getContactNumber()
setContactNumber
public void setContactNumber(java.lang.String contactNumber)
getPlugins
public java.util.Collection getPlugins()
isPluginEnabled
public boolean isPluginEnabled(java.lang.String pluginKey)
isClustered
public boolean isClustered()
- Returns:
- true if the server is part of a cluster; otherwise false
getServerId
public java.lang.String getServerId()
- Returns:
- the server Id for this server or null if there is none set.
getSystemProperties
public java.util.Map getSystemProperties()
- Returns:
- the System properties.
getSystemPropertiesHtml
public java.util.Map getSystemPropertiesHtml()
- Returns:
- break up some typically long-lined properties using spaces
isMailServerAvailable
public boolean isMailServerAvailable()
- Returns:
- true if a default mail server has been configured.
setGc
public void setGc(boolean gc)
- Irrelevant to this class.
- Overrides:
setGc
in class ViewSystemInfoAction
- Parameters:
gc
- is always ignored and set to false
setClusterManager
public void setClusterManager(ClusterManager clusterManager)
- Parameters:
clusterManager
- the ClusterManager used to discover whether the server is part of a cluster.
setTaskManager
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm)
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.