public class

RaiseSupportRequestAction

extends ViewSystemInfoAction
implements FormAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.admin.actions.ViewSystemInfoAction
         ↳ com.atlassian.confluence.admin.actions.RaiseSupportRequestAction

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
RaiseSupportRequestAction()
Public Methods
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()
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 setServerLogsDirectory(String serverLogsDirectory)
void setSubject(String subject)
void setTaskManager(MultiQueueTaskManager tm)
void validate()
[Expand]
Inherited Methods
From class com.atlassian.confluence.admin.actions.ViewSystemInfoAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.core.FormAware
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public RaiseSupportRequestAction ()

Public Methods

public String doDefault ()

Override the default behaviour to also set any default values for the form.

Returns
  • the action result
Throws
Exception

public String execute ()

Throws
Exception

public String getBaseUrl ()

public String getContactEmail ()

public String getContactName ()

public String getContactNumber ()

public String getDescription ()

public String getExistingRequest ()

public String getServerLogsDirectory ()

public String getSubject ()

public SupportUtility getSupportUtility ()

public String getToAddresses ()

Returns
  • The system wide support address that has been configured under general configuration

public boolean isEditMode ()

public boolean isIncludeServerLogs ()

public boolean isMailServerAvailable ()

Returns
  • true if a default mail server has been configured.

public void setContactEmail (String contactEmail)

public void setContactName (String contactName)

public void setContactNumber (String contactNumber)

public void setDescription (String description)

public void setExistingRequest (String existingRequest)

public void setGc (boolean gc)

Irrelevant to this class.

Parameters
gc is always ignored and set to false

public void setIncludeServerLogs (boolean includeServerLogs)

public void setServerLogsDirectory (String serverLogsDirectory)

public void setSubject (String subject)

public void setTaskManager (MultiQueueTaskManager tm)

public void validate ()