public class ImportAll extends AbstractSetupAction
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
DEFAULT_GROUP_ADMINS, fileFactory, jiraProperties, SETUP_ALREADY
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
ImportAll(IndexPathManager indexPathManager,
JiraHome jiraHome,
FileFactory fileFactory,
DataImportService dataImportService,
ImportResultHandler importResultHandler,
VelocityRequestContextFactory velocityRequestContextFactory,
MailSettings mailSettings,
JiraProperties jiraProperties,
JohnsonProvider johnsonProvider,
JiraProductInformation jiraProductInformation) |
Modifier and Type | Method and Description |
---|---|
String |
doDefault() |
protected String |
doExecute() |
String |
doFinish() |
protected void |
doValidation() |
String |
getDefaultImportPath()
Returns the absolution path for the Default Import directory ([jira-home/import]).
|
String |
getDefaultIndexPath()
Returns the absolute path for the Default Index directory ([jira-home]/caches/index/).
|
String |
getFilename() |
String |
getLicense() |
Map<String,String> |
getOutgoingMailOptions() |
ErrorCollection |
getSpecificErrors() |
boolean |
hasSpecificErrors() |
boolean |
isDowngradeAnyway() |
boolean |
isOutgoingEmail() |
boolean |
isOutgoingMailModifiable() |
boolean |
isUseDefaultPaths() |
void |
setDowngradeAnyway(boolean downgradeAnyway) |
void |
setFilename(String filename) |
void |
setLicense(String licenseString) |
void |
setOutgoingEmail(boolean outgoingEmail) |
void |
setQuickImport(boolean quickImport) |
void |
setUseDefaultPaths(boolean useDefaultPaths) |
getAnalyticsIframeUrl, getCurrentTrackerStepId, getLicenseProductKey, getModifierKey, getServerId, getSetupSessionId, getTrackerSteps, isInstantSetup, isLocaleValid, setIndexingLanguageForDefaultServerLocale, setJiraLocale, setupAlready, validateFormPathParam, validateSetupPath
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public ImportAll(IndexPathManager indexPathManager, JiraHome jiraHome, FileFactory fileFactory, DataImportService dataImportService, ImportResultHandler importResultHandler, VelocityRequestContextFactory velocityRequestContextFactory, MailSettings mailSettings, JiraProperties jiraProperties, JohnsonProvider johnsonProvider, JiraProductInformation jiraProductInformation)
public String doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public String getFilename()
public void setFilename(String filename)
public String getDefaultIndexPath()
public String getDefaultImportPath()
public String getLicense()
public void setLicense(String licenseString)
public void setQuickImport(boolean quickImport)
public boolean isUseDefaultPaths()
public void setUseDefaultPaths(boolean useDefaultPaths)
public boolean hasSpecificErrors()
public ErrorCollection getSpecificErrors()
public boolean isOutgoingMailModifiable()
public boolean isOutgoingEmail()
public void setOutgoingEmail(boolean outgoingEmail)
public boolean isDowngradeAnyway()
public void setDowngradeAnyway(boolean downgradeAnyway)
Copyright © 2002-2015 Atlassian. All Rights Reserved.