com.atlassian.jira.web.action.util
Class CsvImporter
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.JiraWizardActionSupport
com.atlassian.jira.web.action.util.BaseImporter
com.atlassian.jira.web.action.util.CsvImporter
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class CsvImporter
- extends BaseImporter
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
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 webwork.action.CommandDriven |
setCommand |
CsvImporter
public CsvImporter(JiraAuthenticationContext context)
doValidation
protected void doValidation()
- Overrides:
doValidation
in class webwork.action.ActionSupport
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-2006 Atlassian. All Rights Reserved.