public class SetupSharedVariables extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SETUP_CHOOSEN_BUNDLE |
| Constructor and Description |
|---|
SetupSharedVariables(HttpServletVariables servletVariables,
ApplicationProperties applicationProperties,
JiraProperties jiraProperties,
JiraAuthenticationContext jiraAuthenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl() |
boolean |
getBundleHasLicenseError() |
Set<org.apache.commons.httpclient.Cookie> |
getBundleLicenseCookies() |
String |
getBundleLicenseKey() |
boolean |
getIsInstantSetup()
Return the information whether current setup process run in instant mode.
|
String |
getJiraLicenseKey()
Get previously saved JIRA evaluation license key.
|
String |
getLocale()
Retrieve the locale saved in session.
|
String |
getSelectedBundle() |
String |
getSelectedBundleName() |
Map<String,String> |
getUserCredentials()
Return entered by user MAC credentials.
|
String |
getWebSudoToken() |
boolean |
isSetupModeDecided()
Return the information whether it has been decided already in which mode setup should be running.
|
void |
removeBundleLicenseCookies() |
void |
setBundleHasLicenseError(boolean hasError) |
void |
setBundleLicenseCookies(Set<org.apache.commons.httpclient.Cookie> cookies) |
void |
setBundleLicenseKey(String licenseKey) |
void |
setIsInstantSetup(boolean isInstant)
Save whether current setup process run in instant mode.
|
void |
setJiraLicenseKey(String licenseKey)
Save JIRA evaluation license key.
|
void |
setLocale(String locale)
Save the given locale in session, so that in can be utilized later by Instant Setup after initial data import.
|
void |
setSelectedBundle(String selection) |
void |
setUserCredentials(String email,
String password)
Save entered by user MAC credentials, which will be used to create an admin account.
|
void |
setWebSudoToken(String token) |
public static final String SETUP_CHOOSEN_BUNDLE
public SetupSharedVariables(HttpServletVariables servletVariables, ApplicationProperties applicationProperties, JiraProperties jiraProperties, JiraAuthenticationContext jiraAuthenticationContext)
public String getSelectedBundle()
public String getSelectedBundleName()
public void setSelectedBundle(String selection)
public String getBundleLicenseKey()
public void setBundleLicenseKey(String licenseKey)
public String getJiraLicenseKey()
public void setJiraLicenseKey(String licenseKey)
licenseKey - JIRA licensepublic Set<org.apache.commons.httpclient.Cookie> getBundleLicenseCookies()
public void setBundleLicenseCookies(Set<org.apache.commons.httpclient.Cookie> cookies)
public void removeBundleLicenseCookies()
public String getBaseUrl()
public boolean getBundleHasLicenseError()
public void setBundleHasLicenseError(boolean hasError)
public String getWebSudoToken()
public void setWebSudoToken(String token)
public void setUserCredentials(String email, String password)
email - the email associated with MAC accountpassword - the password for MAC accountpublic Map<String,String> getUserCredentials()
public void setIsInstantSetup(boolean isInstant)
isInstant - whether setup run in instant modepublic boolean getIsInstantSetup()
public boolean isSetupModeDecided()
public void setLocale(String locale)
locale - locale to savepublic String getLocale()
Copyright © 2002-2015 Atlassian. All Rights Reserved.