com.atlassian.jira.action.admin
Class DataExport

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.action.JiraNonWebActionSupport
              extended by com.atlassian.jira.action.admin.DataExport
All Implemented Interfaces:
SafeAction, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class DataExport
extends JiraNonWebActionSupport

Export JIRA data to a filename

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static java.lang.String INVALID_XML_CHARACTER
           
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DataExport(EntitiesExporter entitiesExporter)
           
 
Method Summary
 java.lang.String execute()
           
 java.lang.String getFilename()
           
 java.lang.String getXml()
           
 void setAnonymiseData(boolean anonymiseData)
          Whether to anonymise (replace with 'x' characters) the data that is sent.
 void setFilename(java.lang.String filename)
           
 void setUseZip(boolean useZip)
           
 
Methods inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
doDefault, getRemoteUser, getText0, getUnescapedText, isDispatchEvent, setDispatchEvent, setRemoteUser
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, 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
getCommandName, setCommand
 

Field Detail

INVALID_XML_CHARACTER

public static final java.lang.String INVALID_XML_CHARACTER
See Also:
Constant Field Values
Constructor Detail

DataExport

public DataExport(EntitiesExporter entitiesExporter)
Method Detail

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface webwork.action.Action
Overrides:
execute in class JiraNonWebActionSupport
Throws:
java.lang.Exception

getFilename

public java.lang.String getFilename()

setFilename

public void setFilename(java.lang.String filename)

getXml

public java.lang.String getXml()

setUseZip

public void setUseZip(boolean useZip)

setAnonymiseData

public void setAnonymiseData(boolean anonymiseData)
Whether to anonymise (replace with 'x' characters) the data that is sent. This shold only be set to true for support requests

Parameters:
anonymiseData - Whether to anonymise the data.


Copyright © 2002-2010 Atlassian. All Rights Reserved.