|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.admin.actions.ViewSystemInfoAction com.atlassian.confluence.admin.actions.RaiseSupportRequestAction
public class RaiseSupportRequestAction
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.
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
RaiseSupportRequestAction()
|
Method Summary | |
---|---|
java.lang.String |
doDefault()
Override the default behaviour to also set any default values for the form. |
java.lang.String |
execute()
|
java.lang.String |
getCcAddresses()
|
java.lang.String |
getContactEmail()
|
java.lang.String |
getContactName()
|
java.lang.String |
getContactNumber()
|
java.lang.String |
getDescription()
|
java.lang.String |
getExistingRequest()
|
java.lang.String |
getPluginEnabledAsEnglish(java.lang.String pluginKey)
Get English label of whether a plugin is enabled or disabled. |
java.lang.String |
getPluginEnabledAsI18nLabel(java.lang.String pluginKey)
Get internationalised label of whether a plugin is enabled or disabled. |
java.util.Collection |
getPlugins()
|
java.lang.String |
getServerId()
|
java.lang.String |
getServerIdOrEnglishNone()
|
java.lang.String |
getServerIdOrI18nNone()
|
java.lang.String |
getSubject()
|
java.lang.String |
getSupportEntitlementNumberOrEnglishNone()
Returns the license's SupportEntitlementNumber (SEN) if specified in a V2 license or "none" if using a V1 license or if the V2 license has no SEN. |
java.lang.String |
getSupportEntitlementNumberOrI18nNone()
Returns the license's SupportEntitlementNumber (SEN) if specified in a V2 license or the localisation of "none.word" if using a V1 license or if the V2 license has no SEN. |
java.util.Map<java.lang.Object,java.lang.Object> |
getSystemProperties()
|
java.util.Map |
getSystemPropertiesHtml()
|
java.lang.String |
getToAddresses()
|
boolean |
isClustered()
|
boolean |
isMailServerAvailable()
|
boolean |
isPluginEnabled(java.lang.String pluginKey)
|
void |
setCcAddresses(java.lang.String ccAddresses)
|
void |
setClusterManager(ClusterManager clusterManager)
|
void |
setContactEmail(java.lang.String contactEmail)
|
void |
setContactName(java.lang.String contactName)
|
void |
setContactNumber(java.lang.String contactNumber)
|
void |
setDescription(java.lang.String description)
|
void |
setExistingRequest(java.lang.String existingRequest)
|
void |
setGc(boolean gc)
Irrelevant to this class. |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
void |
setSidManager(ConfluenceSidManager sidManager)
|
void |
setSubject(java.lang.String subject)
|
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm)
|
Methods inherited from class com.atlassian.confluence.admin.actions.ViewSystemInfoAction |
---|
getBuildStats, getDatabaseInfo, getDatabaseLatency, getEnabledPlugins, getMemoryStatistics, getProps, getServletContext, isPermitted, setSystemInformationService |
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 |
Constructor Detail |
---|
public RaiseSupportRequestAction()
Method Detail |
---|
public java.lang.String doDefault() throws java.lang.Exception
doDefault
in class ConfluenceActionSupport
java.lang.Exception
- if something goes wrongpublic java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class ViewSystemInfoAction
java.lang.Exception
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setPluginAccessor
in class ConfluenceActionSupport
public java.lang.String getToAddresses()
public java.lang.String getCcAddresses()
public void setCcAddresses(java.lang.String ccAddresses)
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getExistingRequest()
public void setExistingRequest(java.lang.String existingRequest)
public java.lang.String getContactName()
public void setContactName(java.lang.String contactName)
public java.lang.String getContactEmail()
public void setContactEmail(java.lang.String contactEmail)
public java.lang.String getContactNumber()
public void setContactNumber(java.lang.String contactNumber)
public java.util.Collection getPlugins()
public boolean isPluginEnabled(java.lang.String pluginKey)
public java.lang.String getPluginEnabledAsEnglish(java.lang.String pluginKey)
public java.lang.String getPluginEnabledAsI18nLabel(java.lang.String pluginKey)
public boolean isClustered()
public java.lang.String getServerId()
public java.lang.String getServerIdOrEnglishNone()
public java.lang.String getServerIdOrI18nNone()
public java.lang.String getSupportEntitlementNumberOrEnglishNone()
public java.lang.String getSupportEntitlementNumberOrI18nNone()
public void setSidManager(ConfluenceSidManager sidManager)
public java.util.Map<java.lang.Object,java.lang.Object> getSystemProperties()
public java.util.Map getSystemPropertiesHtml()
public boolean isMailServerAvailable()
public void setGc(boolean gc)
setGc
in class ViewSystemInfoAction
gc
- is always ignored and set to falsepublic void setClusterManager(ClusterManager clusterManager)
clusterManager
- the ClusterManager used to discover whether the server is part of a cluster.public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |