com.atlassian.jira.action.admin
Class DataImport

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.action.JiraNonWebActionSupport
              extended bycom.atlassian.jira.action.admin.DataImport
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, I18nHelper, webwork.action.IllegalArgumentAware, Serializable

public class DataImport
extends JiraNonWebActionSupport

See Also:
Serialized Form

Nested Class Summary
(package private) static class DataImport.ErrorHandler
           
 
Field Summary
static String UPGRADE_EXCEPTION
           
 
Fields inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DataImport()
           
DataImport(IssueIndexManager indexManager)
           
 
Method Summary
protected  String doExecute()
           
protected  void doValidation()
           
protected  ConsistencyChecker getConsistencyChecker()
           
 String getFilename()
           
 String getIndexPath()
           
 String getLicenseString()
           
protected  UpgradeManager getUpgradeManager()
           
protected  void refreshManagers()
           
protected  void refreshSequencer()
          This method is here to make it easier to mock out the sequencer reset for testing purposes.
 void setFilename(String filename)
           
 void setIndexPath(String indexPath)
           
 void setLicenseString(String licenseString)
           
 
Methods inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
doDefault, execute, getRemoteUser, isDispatchEvent, setDispatchEvent, setRemoteUser
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, 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
setCommand
 

Field Detail

UPGRADE_EXCEPTION

public static final String UPGRADE_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

DataImport

public DataImport()

DataImport

public DataImport(IssueIndexManager indexManager)
Method Detail

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

getConsistencyChecker

protected ConsistencyChecker getConsistencyChecker()

getUpgradeManager

protected UpgradeManager getUpgradeManager()

refreshManagers

protected void refreshManagers()

refreshSequencer

protected void refreshSequencer()
This method is here to make it easier to mock out the sequencer reset for testing purposes.


doValidation

protected void doValidation()

getFilename

public String getFilename()

setFilename

public void setFilename(String filename)

getIndexPath

public String getIndexPath()

setIndexPath

public void setIndexPath(String indexPath)

getLicenseString

public String getLicenseString()

setLicenseString

public void setLicenseString(String licenseString)


Copyright © 2002-2006 Atlassian. All Rights Reserved.