public class SetupImport 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 |
---|
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, 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 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.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 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-2024 Atlassian. All Rights Reserved.