public class SetupImport extends AbstractSetupAction
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryDEFAULT_GROUP_ADMINS, fileFactory, jiraProperties, SETUP_ALREADYISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULTlog| Constructor and Description |
|---|
SetupImport(IndexPathManager indexPathManager,
ExternalLinkUtil externalLinkUtil,
BuildUtilsInfo buildUtilsInfo,
FileFactory fileFactory,
DataImportService dataImportService,
ImportResultHandler importResultHandler,
VelocityRequestContextFactory velocityRequestContextFactory,
MailSettings mailSettings,
PostSetupURIProvider postSetupURIProvider,
JiraProperties jiraProperties,
JohnsonProvider johnsonProvider,
JiraProductInformation jiraProductInformation) |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault() |
protected String |
doExecute() |
String |
doFetchLicense() |
String |
doFinish() |
String |
doReturnFromMAC() |
protected void |
doValidation() |
BuildUtilsInfo |
getBuildUtilsInfo() |
String |
getFilename() |
String |
getIndexPath()
Returns the absolute path for the index directory.
|
String |
getLicense() |
Map<String,String> |
getOutgoingMailOptions() |
String |
getRequestLicenseURL() |
ErrorCollection |
getSpecificErrors() |
boolean |
hasSpecificErrors() |
boolean |
isDowngradeAnyway() |
boolean |
isOutgoingMailModifiable() |
boolean |
isUseDefaultPaths() |
boolean |
outgoingEmail() |
void |
setDowngradeAnyway(boolean downgradeAnyway) |
void |
setFilename(String filename) |
void |
setLicense(String license) |
void |
setOutgoingEmail(boolean outgoingEmail) |
void |
setUseDefaultPaths(boolean useDefaultPaths) |
getAnalyticsIframeUrl, getCurrentTrackerStepId, getLicenseProductKey, getModifierKey, getServerId, getSetupSessionId, getTrackerSteps, getXsrfToken, isInstantSetup, isLocaleValid, setIndexingLanguageForDefaultServerLocale, setJiraLocale, setupAlready, validateFormPathParam, validateSetupPathaddError, 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, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, 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, urlEncodeaddErrorMessages, 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, removeKeyOrAddErroraddError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic SetupImport(IndexPathManager indexPathManager, ExternalLinkUtil externalLinkUtil, BuildUtilsInfo buildUtilsInfo, FileFactory fileFactory, DataImportService dataImportService, ImportResultHandler importResultHandler, VelocityRequestContextFactory velocityRequestContextFactory, MailSettings mailSettings, PostSetupURIProvider postSetupURIProvider, JiraProperties jiraProperties, JohnsonProvider johnsonProvider, JiraProductInformation jiraProductInformation)
public String doDefault() throws Exception
doDefault in class webwork.action.ActionSupportExceptionprotected void doValidation()
doValidation in class webwork.action.ActionSupportprotected String doExecute() throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic String getFilename()
public void setFilename(String filename)
public String getIndexPath()
public String getLicense()
public void setLicense(String license)
public BuildUtilsInfo getBuildUtilsInfo()
public boolean isUseDefaultPaths()
public void setUseDefaultPaths(boolean useDefaultPaths)
public boolean hasSpecificErrors()
public ErrorCollection getSpecificErrors()
public boolean isDowngradeAnyway()
public void setDowngradeAnyway(boolean downgradeAnyway)
public String getRequestLicenseURL()
public void setOutgoingEmail(boolean outgoingEmail)
public boolean isOutgoingMailModifiable()
public boolean outgoingEmail()
Copyright © 2002-2021 Atlassian. All Rights Reserved.