public abstract class AbstractSetupAction extends JiraWebActionSupport
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GROUP_ADMINS |
protected FileFactory |
fileFactory |
protected JiraProperties |
jiraProperties |
protected static String |
SETUP_ALREADY |
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
AbstractSetupAction(FileFactory fileFactory,
JiraProperties jiraProperties,
JiraProductInformation jiraProductInformation) |
Modifier and Type | Method and Description |
---|---|
String |
getAnalyticsIframeUrl() |
protected String |
getCurrentTrackerStepId() |
String |
getLicenseProductKey() |
String |
getModifierKey() |
String |
getServerId() |
String |
getSetupSessionId() |
List<Map<String,Object>> |
getTrackerSteps() |
String |
isInstantSetup() |
boolean |
isLocaleValid(String locale)
Check if given locale is valid for this JIRA instance, ie.
|
void |
setIndexingLanguageForDefaultServerLocale()
Set the indexing language for the selected (or default) locale.
|
void |
setJiraLocale(String locale) |
boolean |
setupAlready() |
protected void |
validateFormPathParam(String formElement,
String blankErrorMessage,
String nonUniqueErrorMessage,
String myPath,
Collection<String> otherPaths) |
protected void |
validateSetupPath(String paramPath,
String formElement) |
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, getRequestSourceType, 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, doDefault, doExecute, doValidation, 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
protected static final String SETUP_ALREADY
public static final String DEFAULT_GROUP_ADMINS
protected final FileFactory fileFactory
protected final JiraProperties jiraProperties
public AbstractSetupAction(FileFactory fileFactory, JiraProperties jiraProperties, JiraProductInformation jiraProductInformation)
public boolean setupAlready()
protected void validateFormPathParam(String formElement, String blankErrorMessage, String nonUniqueErrorMessage, String myPath, Collection<String> otherPaths)
protected String getCurrentTrackerStepId()
public String getModifierKey()
public String getSetupSessionId()
public String getLicenseProductKey()
public String getServerId()
getServerId
in class JiraWebActionSupport
public boolean isLocaleValid(String locale)
locale
- to validatepublic void setJiraLocale(String locale)
public void setIndexingLanguageForDefaultServerLocale()
public String isInstantSetup()
public String getAnalyticsIframeUrl()
Copyright © 2002-2019 Atlassian. All Rights Reserved.