public class SetupLicense extends AbstractSetupAction
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
DEFAULT_GROUP_ADMINS, DEFAULT_GROUP_DEVELOPERS, DEFAULT_GROUP_USERS, fileFactory, jiraProperties, SETUP_ALREADY
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
SetupLicense(FileFactory fileFactory,
JiraLicenseUpdaterService licenseService,
JiraSystemRestarter jiraSystemRestarter,
JiraWebResourceManager webResourceManager,
SetupSharedVariables sharedVariables,
JiraProperties jiraProperties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
doDefault() |
protected String |
doExecute() |
String |
doValidateLicense()
A Simple action to allow ajax calls to verify a license, returing a json representation.
|
void |
doValidation() |
List<com.atlassian.jira.web.action.setup.SetupLicense.SetupOptions> |
getLicenseSetupOptions() |
String |
getLicenseToValidate() |
String |
getLicenseValidationResults() |
String |
getSelectedBundle() |
void |
setLicenseToValidate(String license) |
void |
setSelectedBundle(String selectedBundle) |
void |
setSetupEmail(String email) |
void |
setSetupFirstName(String firstName) |
void |
setSetupLastName(String lastName) |
void |
setSetupLicenseKey(String licenseString) |
void |
setSetupPluginLicenseKey(String pluginLicenseString) |
getAnalyticsIframeUrl, getCurrentTrackerStepId, getModifierKey, getProductName, getServerId, getSetupSessionId, getTrackerSteps, isInstantSetup, isLocaleValid, setIndexingLanguageForDefaultServerLocale, setJiraLocale, setupAlready, validateFormPathParam, validateSetupPath
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
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, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public SetupLicense(FileFactory fileFactory, JiraLicenseUpdaterService licenseService, JiraSystemRestarter jiraSystemRestarter, JiraWebResourceManager webResourceManager, SetupSharedVariables sharedVariables, JiraProperties jiraProperties)
public String doValidateLicense()
public void doValidation()
doValidation
in class webwork.action.ActionSupport
protected String doExecute()
doExecute
in class webwork.action.ActionSupport
public String doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
public void setLicenseToValidate(String license)
public String getLicenseToValidate()
public String getLicenseValidationResults()
public void setSetupLicenseKey(String licenseString)
public void setSetupPluginLicenseKey(String pluginLicenseString)
public void setSetupEmail(String email)
public void setSetupFirstName(String firstName)
public void setSetupLastName(String lastName)
public String getSelectedBundle()
public void setSelectedBundle(String selectedBundle)
public List<com.atlassian.jira.web.action.setup.SetupLicense.SetupOptions> getLicenseSetupOptions()
Copyright © 2002-2015 Atlassian. All Rights Reserved.