public class RaiseSupportRequestAction extends ViewSystemInfoAction implements FormAware
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.
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
RaiseSupportRequestAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Override the default behaviour to also set any default values for the form.
|
String |
execute() |
String |
getBaseUrl() |
String |
getContactEmail() |
String |
getContactName() |
String |
getContactNumber() |
String |
getDescription() |
String |
getExistingRequest() |
String |
getServerLogsDirectory() |
String |
getSubject() |
SupportUtility |
getSupportUtility() |
String |
getToAddresses() |
boolean |
isEditMode() |
boolean |
isIncludeServerLogs() |
boolean |
isMailServerAvailable() |
boolean |
isPermitted() |
void |
setContactEmail(String contactEmail) |
void |
setContactName(String contactName) |
void |
setContactNumber(String contactNumber) |
void |
setDescription(String description) |
void |
setExistingRequest(String existingRequest) |
void |
setGc(boolean gc)
Irrelevant to this class.
|
void |
setIncludeServerLogs(boolean includeServerLogs) |
void |
setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager) |
void |
setServerLogsDirectory(String serverLogsDirectory) |
void |
setSubject(String subject) |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm) |
void |
validate() |
getBuildStats, getDatabaseInfo, getEnabledPlugins, getEnvironmentVariables, getMemoryStatistics, getModifications, getPluginEnabledAsEnglish, getPluginEnabledAsI18nLabel, getPlugins, getRuntimeEnvironment, getServerId, getServerIdOrEnglishNone, getServerIdOrI18nNone, getServletContext, getSummaryInfo, getSupportEntitlementNumberOrEnglishNone, getSupportEntitlementNumberOrI18nNone, getSystemProperties, getSystemPropertiesHtml, getUsageInfo, isClustered, isDailyBackupEnabled, isPluginEnabled, setClusterManager, setLicenseService, setScheduledJobManager, setSettingsManager, setSidManager, setSystemInformationService
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSkipAccessCheck, setSpacePermissionManager, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
public boolean isPermitted()
isPermitted
in class ViewSystemInfoAction
public String doDefault() throws Exception
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class ViewSystemInfoAction
Exception
public String getBaseUrl()
public String getToAddresses()
public String getSubject()
public void setSubject(String subject)
public String getDescription()
public void setDescription(String description)
public String getExistingRequest()
public void setExistingRequest(String existingRequest)
public String getContactName()
public void setContactName(String contactName)
public String getContactEmail()
public void setContactEmail(String contactEmail)
public String getContactNumber()
public void setContactNumber(String contactNumber)
public boolean isMailServerAvailable()
public void setGc(boolean gc)
setGc
in class ViewSystemInfoAction
gc
- is always ignored and set to falsepublic void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm)
public SupportUtility getSupportUtility()
public boolean isIncludeServerLogs()
public void setIncludeServerLogs(boolean includeServerLogs)
public String getServerLogsDirectory()
public void setServerLogsDirectory(String serverLogsDirectory)
public void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
public boolean isEditMode()
isEditMode
in interface FormAware
Copyright © 2003–2018 Atlassian. All rights reserved.