com.atlassian.jira.web.action.util.csv
Class ConfigureCsvMapping
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.csv.ConfigureCsvMapping
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class ConfigureCsvMapping
- extends JiraWizardActionSupport
- 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 |
getCurrentStep, getFinishButton, getSubmitBtn, isButtonClickedByName, isButtonClickedByValue, isFinishClicked, isNextClicked, isPreviousClicked, setCurrentStep, setFinishButton, setSubmitBtn |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, 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 |
PROJECT_CONFIGURATION_STEP
public static final int PROJECT_CONFIGURATION_STEP
- See Also:
- Constant Field Values
VALUE_MAPPING_STEP
public static final int VALUE_MAPPING_STEP
- See Also:
- Constant Field Values
importLocation
protected String importLocation
configFileLocation
protected String configFileLocation
delimiter
protected String delimiter
ConfigureCsvMapping
public ConfigureCsvMapping(ConstantsManager constantsManager,
CustomFieldManager customFieldManager,
ProjectManager projectManager,
UserManager userManager,
ExternalUtils externalUtils,
ApplicationProperties applicationProperties,
ProjectService projectService)
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
doStart
public String doStart()
throws Exception
- Throws:
Exception
isExternalUserManagementEnabled
public boolean isExternalUserManagementEnabled()
doValidation
protected void doValidation()
- Overrides:
doValidation
in class webwork.action.ActionSupport
doExecute
protected String doExecute()
throws Exception
- Overrides:
doExecute
in class JiraWizardActionSupport
- Throws:
Exception
doAddConstant
public String doAddConstant()
throws Exception
- Throws:
Exception
getBean
public CsvConfigBean getBean()
setBean
public void setBean(CsvConfigBean bean)
getProjects
public List getProjects()
getProjectOptions
public Map getProjectOptions()
getCustomFields
public Collection getCustomFields()
getAllUsers
public List getAllUsers()
getPriorities
public Collection getPriorities()
getIssueTypes
public Collection getIssueTypes()
getResolutions
public Collection getResolutions()
getStatuses
public Collection getStatuses()
isNameInList
public boolean isNameInList(Collection collection,
String name)
getTotalSteps
public int getTotalSteps()
- Specified by:
getTotalSteps
in class JiraWizardActionSupport
getConstantType
public String getConstantType()
setConstantType
public void setConstantType(String constantType)
getConstantValue
public String getConstantValue()
setConstantValue
public void setConstantValue(String constantValue)
getConstantField
public String getConstantField()
setConstantField
public void setConstantField(String constantField)
isAddConstant
public boolean isAddConstant()
setAddConstant
public void setAddConstant(boolean addConstant)
getConfigFile
public org.apache.commons.configuration.FileConfiguration getConfigFile()
setConfigFile
public void setConfigFile(org.apache.commons.configuration.FileConfiguration configFile)
getConfigFileLocation
public String getConfigFileLocation()
setConfigFileLocation
public void setConfigFileLocation(String configFileLocation)
getImportLocation
public String getImportLocation()
setImportLocation
public void setImportLocation(String importLocation)
getDelimiterChar
public Character getDelimiterChar()
setDelimiter
public void setDelimiter(String delimiter)
- Set's the delimiter property. An extra check is done to see if the delimiter
is a '\t' if the passed delimiter is, it will be set via
setTabCharacter(String delimter)
- Parameters:
delimiter
-
getDelimiter
public String getDelimiter()
getDefaultDelimiter
public char getDefaultDelimiter()
getImporter
public JiraDataImporter getImporter()
getImportActionName
public String getImportActionName()
Copyright © 2002-2009 Atlassian. All Rights Reserved.