public class SetupSharedVariables extends Object
Constructor and Description |
---|
SetupSharedVariables(HttpServletVariables servletVariables,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl()
Get JIRA base url.
|
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.
|
Map<String,String> |
getUserCredentials()
Return entered by user MAC credentials.
|
boolean |
isSetupModeDecided()
Return the information whether it has been decided already in which mode setup should be running.
|
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 |
setUserCredentials(String email,
String username,
String password)
Save entered by user MAC credentials, which will be used to create an admin account.
|
public SetupSharedVariables(HttpServletVariables servletVariables, ApplicationProperties applicationProperties)
public String getJiraLicenseKey()
public void setJiraLicenseKey(String licenseKey)
licenseKey
- JIRA licensepublic void setUserCredentials(String email, String username, 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()
public String getBaseUrl()
Copyright © 2002-2016 Atlassian. All Rights Reserved.