com.atlassian.jira.action.admin
Class DataImport
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.action.JiraNonWebActionSupport
com.atlassian.jira.action.admin.DataImport
- All Implemented Interfaces:
- SafeAction, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class DataImport
- extends JiraNonWebActionSupport
Import some data.
Note: This class calls ManagerFactory.globalRefresh()
that clears all instances of the managers. Therefore,
having these injected is a bit pointless. Get them as you need them.
Also, Category.info(Object)
and Category.debug(Object)
calls that concatenate Strings should be preceded
with the appropriate is..Enabled() calls to prevent useless expensive string concatenation.
- 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.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, 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, 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 |
UPGRADE_EXCEPTION
public static final String UPGRADE_EXCEPTION
- See Also:
- Constant Field Values
V1_LICENSE_EXCEPTION
public static final String V1_LICENSE_EXCEPTION
- See Also:
- Constant Field Values
DataImport
public DataImport(ApplicationProperties applicationProperties,
JiraLicenseUpdaterService jiraLicenseService,
LicenseStringFactory licenseStringFactory,
BuildUtilsInfo buildUtilsInfo)
doExecute
protected String doExecute()
throws Exception
- Overrides:
doExecute
in class webwork.action.ActionSupport
- Throws:
Exception
doValidation
protected void doValidation()
- Overrides:
doValidation
in class webwork.action.ActionSupport
getFilename
public String getFilename()
setFilename
public void setFilename(String filename)
getIndexPath
public String getIndexPath()
setIndexPath
public void setIndexPath(String indexPath)
getIndexMode
public String getIndexMode()
setIndexMode
public void setIndexMode(String indexPathOption)
getLicenseString
public String getLicenseString()
setLicenseString
public void setLicenseString(String licenseString)
Copyright © 2002-2009 Atlassian. All Rights Reserved.