public class GeneralConfigurationImpl extends Object implements GeneralConfiguration
GeneralConfiguration.CommentVisibility, GeneralConfiguration.EmailVisibility| Constructor and Description |
|---|
GeneralConfigurationImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableVoting() |
void |
disableWatching()
Disable watching of issues
|
void |
enableVoting() |
void |
enableWatching()
Enable watching of issues
|
void |
fixBaseUrl()
Set the baseUrl to that of the functional base URL.
|
protected Navigation |
getNavigation() |
void |
setAllowUnassignedIssues(boolean enable) |
void |
setBaseUrl(String baseUrl)
Set the baseUrl of this JIRA instance to the String provided.
|
void |
setCommentVisibility(GeneralConfiguration.CommentVisibility commentVisibility) |
void |
setDefaultUserTimeZone(String timeZoneID)
Sets the default user time zone for this JIRA instance.
|
void |
setExternalUserManagement(boolean enable) |
void |
setJiraLocale(String locale)
Sets the default locale of this JIRA instance.
|
void |
setJiraLocaleByValue(String localeValue)
Sets the default locale of this JIRA instance.
|
void |
setJiraLocaleToSystemDefault()
Sets the default locale to the system locale
|
void |
setJqlAutocomplete(boolean enable) |
void |
setUserEmailVisibility(GeneralConfiguration.EmailVisibility emailVisibility)
Set the visibility level of user emails.
|
void |
turnOnGZipCompression()
Turn on compression of web pages that JIRA sends to the browser.
|
@Inject
public GeneralConfigurationImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
public void setAllowUnassignedIssues(boolean enable)
setAllowUnassignedIssues in interface GeneralConfigurationpublic void setExternalUserManagement(boolean enable)
setExternalUserManagement in interface GeneralConfigurationpublic void enableVoting()
enableVoting in interface GeneralConfigurationpublic void setCommentVisibility(GeneralConfiguration.CommentVisibility commentVisibility)
setCommentVisibility in interface GeneralConfigurationpublic void setUserEmailVisibility(GeneralConfiguration.EmailVisibility emailVisibility)
GeneralConfigurationsetUserEmailVisibility in interface GeneralConfigurationemailVisibility - one of the predefined visibility levelsGeneralConfiguration.EmailVisibilitypublic void setJqlAutocomplete(boolean enable)
setJqlAutocomplete in interface GeneralConfigurationenable - enable or disable JQL Auto-complete globallypublic void disableVoting()
disableVoting in interface GeneralConfigurationpublic void setBaseUrl(String baseUrl)
GeneralConfigurationsetBaseUrl in interface GeneralConfigurationbaseUrl - The baseurl to use for this instancepublic void fixBaseUrl()
GeneralConfigurationfixBaseUrl in interface GeneralConfigurationpublic void setJiraLocale(String locale)
GeneralConfigurationsetJiraLocale in interface GeneralConfigurationlocale - The locale to use by default e.g. "German (Germany)", "English (UK)"public void setJiraLocaleByValue(String localeValue)
GeneralConfigurationGeneralConfiguration.setJiraLocaleToSystemDefault() instead for this.setJiraLocaleByValue in interface GeneralConfigurationlocaleValue - The value of the locale to use e.g. "en_AU", "en_UK".public void setJiraLocaleToSystemDefault()
GeneralConfigurationsetJiraLocaleToSystemDefault in interface GeneralConfigurationpublic void disableWatching()
GeneralConfigurationdisableWatching in interface GeneralConfigurationpublic void enableWatching()
GeneralConfigurationenableWatching in interface GeneralConfigurationpublic void turnOnGZipCompression()
GeneralConfigurationturnOnGZipCompression in interface GeneralConfigurationpublic void setDefaultUserTimeZone(String timeZoneID)
GeneralConfigurationsetDefaultUserTimeZone in interface GeneralConfigurationprotected Navigation getNavigation()
Copyright © 2002-2016 Atlassian. All Rights Reserved.