com.atlassian.jira.web.action.util
Class CsvImporter

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.JiraWizardActionSupport
                  extended bycom.atlassian.jira.web.action.util.BaseImporter
                      extended bycom.atlassian.jira.web.action.util.CsvImporter
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class CsvImporter
extends BaseImporter

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String abortButton
           
(package private)  java.lang.String configButton
           
(package private)  org.apache.commons.configuration.FileConfiguration configFile
           
 
Fields inherited from class com.atlassian.jira.web.action.util.BaseImporter
configFileLocation, importFileLocation, logs, stats
 
Fields inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport
currentStep, finishButton, submitBtn
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
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
CsvImporter()
           
 
Method Summary
 java.lang.String doImport()
          Do the actual import
 java.lang.String doSettings()
          Sets up the importer & view the settings page
protected  void doValidation()
           
 java.lang.String doViewLogs()
          View the logs while the importer is still going on
 java.lang.String getAbortButton()
           
 java.lang.String getConfigButton()
           
 org.apache.commons.configuration.FileConfiguration getConfigFile()
           
 JiraDataImporter getImporter()
           
 long getRefreshInterval()
           
 void setAbortButton(java.lang.String abortButton)
           
 void setConfigButton(java.lang.String configButton)
           
 void setConfigFile(org.apache.commons.configuration.FileConfiguration configFile)
           
 void setImporter(JiraDataImporter bean)
           
 void setRefreshInterval(long refreshInterval)
           
 
Methods inherited from class com.atlassian.jira.web.action.util.BaseImporter
getConfigFileLocation, getImportFileLocation, getLogs, getStats, getTotalSteps, setConfigFileLocation, setImportFileLocation, setLogs, setStats
 
Methods inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport
doExecute, getCurrentStep, getFinishButton, getSubmitBtn, isButtonClicked, isFinishClicked, isNextClicked, isPreviousClicked, setCurrentStep, setFinishButton, setSubmitBtn
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

configButton

java.lang.String configButton

abortButton

java.lang.String abortButton

configFile

org.apache.commons.configuration.FileConfiguration configFile
Constructor Detail

CsvImporter

public CsvImporter()
Method Detail

doValidation

protected void doValidation()

doSettings

public java.lang.String doSettings()
                            throws java.lang.Exception
Sets up the importer & view the settings page

Returns:
Throws:
java.lang.Exception

doImport

public java.lang.String doImport()
                          throws java.lang.Exception
Do the actual import

Returns:
Throws:
java.lang.Exception

doViewLogs

public java.lang.String doViewLogs()
                            throws java.lang.Exception
View the logs while the importer is still going on

Returns:
Throws:
java.lang.Exception

getConfigButton

public java.lang.String getConfigButton()

setConfigButton

public void setConfigButton(java.lang.String configButton)

getAbortButton

public java.lang.String getAbortButton()

setAbortButton

public void setAbortButton(java.lang.String abortButton)

getImporter

public JiraDataImporter getImporter()

setImporter

public void setImporter(JiraDataImporter bean)

getRefreshInterval

public long getRefreshInterval()

setRefreshInterval

public void setRefreshInterval(long refreshInterval)

getConfigFile

public org.apache.commons.configuration.FileConfiguration getConfigFile()

setConfigFile

public void setConfigFile(org.apache.commons.configuration.FileConfiguration configFile)


Copyright © 2002-2005 Atlassian. All Rights Reserved.