public abstract class AbstractSetupAction extends JiraWebActionSupport
JiraWebActionSupport.MessageTypeI18nHelper.BeanFactoryErrorCollection.Reason| 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, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT| 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 |
getXsrfToken() |
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, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, 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, urlEncodeaddError, addErrorMessage, doDefault, doExecute, doValidation, 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, setErrorMessagesprotected 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 JiraWebActionSupportpublic boolean isLocaleValid(String locale)
locale - to validatepublic void setJiraLocale(String locale)
public void setIndexingLanguageForDefaultServerLocale()
public String isInstantSetup()
public String getAnalyticsIframeUrl()
public String getXsrfToken()
getXsrfToken in class JiraWebActionSupportCopyright © 2002-2023 Atlassian. All Rights Reserved.