public class ImportAll extends AbstractSetupAction
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
DEFAULT_GROUP_ADMINS, fileFactory, jiraProperties, SETUP_ALREADY
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Constructor and Description |
---|
ImportAll(IndexPathManager indexPathManager,
FileStores fileStores,
FileFactory fileFactory,
DataImportService dataImportService,
ImportResultHandler importResultHandler,
VelocityRequestContextFactory velocityRequestContextFactory,
MailSettings mailSettings,
JiraProperties jiraProperties,
JohnsonProvider johnsonProvider,
JiraProductInformation jiraProductInformation,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService) |
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 |
getFilename() |
String |
getIndexPath()
Returns the absolute path for the Index directory.
|
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, getXsrfToken, isInstantSetup, isLocaleValid, setIndexingLanguageForDefaultServerLocale, setJiraLocale, setupAlready, validateFormPathParam, validateSetupPath
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
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, setErrorMessages
public ImportAll(IndexPathManager indexPathManager, FileStores fileStores, FileFactory fileFactory, DataImportService dataImportService, ImportResultHandler importResultHandler, VelocityRequestContextFactory velocityRequestContextFactory, MailSettings mailSettings, JiraProperties jiraProperties, JohnsonProvider johnsonProvider, JiraProductInformation jiraProductInformation, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService)
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 getIndexPath()
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-2024 Atlassian. All Rights Reserved.