Class GeneralConfigurationImpl
java.lang.Object
com.atlassian.jira.functest.framework.admin.GeneralConfigurationImpl
- All Implemented Interfaces:
GeneralConfiguration
- Since:
- v3.13
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.GeneralConfiguration
GeneralConfiguration.CommentVisibility, GeneralConfiguration.EmailVisibility
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralConfigurationImpl
(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Disable watching of issuesvoid
void
Enable watching of issuesvoid
Set the baseUrl to that of the functional base URL.protected Navigation
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
Sets the default locale to the system localevoid
setJqlAutocomplete
(boolean enable) void
setUserEmailVisibility
(GeneralConfiguration.EmailVisibility emailVisibility) Set the visibility level of user emails.void
Turn on compression of web pages that JIRA sends to the browser.
-
Constructor Details
-
GeneralConfigurationImpl
@Inject public GeneralConfigurationImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
-
-
Method Details
-
setAllowUnassignedIssues
public void setAllowUnassignedIssues(boolean enable) - Specified by:
setAllowUnassignedIssues
in interfaceGeneralConfiguration
-
setExternalUserManagement
public void setExternalUserManagement(boolean enable) - Specified by:
setExternalUserManagement
in interfaceGeneralConfiguration
-
enableVoting
public void enableVoting()- Specified by:
enableVoting
in interfaceGeneralConfiguration
-
setCommentVisibility
- Specified by:
setCommentVisibility
in interfaceGeneralConfiguration
-
setUserEmailVisibility
Description copied from interface:GeneralConfiguration
Set the visibility level of user emails.- Specified by:
setUserEmailVisibility
in interfaceGeneralConfiguration
- Parameters:
emailVisibility
- one of the predefined visibility levels- See Also:
-
setJqlAutocomplete
public void setJqlAutocomplete(boolean enable) - Specified by:
setJqlAutocomplete
in interfaceGeneralConfiguration
- Parameters:
enable
- enable or disable JQL Auto-complete globally
-
disableVoting
public void disableVoting()- Specified by:
disableVoting
in interfaceGeneralConfiguration
-
setBaseUrl
Description copied from interface:GeneralConfiguration
Set the baseUrl of this JIRA instance to the String provided.- Specified by:
setBaseUrl
in interfaceGeneralConfiguration
- Parameters:
baseUrl
- The baseurl to use for this instance
-
fixBaseUrl
public void fixBaseUrl()Description copied from interface:GeneralConfiguration
Set the baseUrl to that of the functional base URL.- Specified by:
fixBaseUrl
in interfaceGeneralConfiguration
-
setJiraLocale
Description copied from interface:GeneralConfiguration
Sets the default locale of this JIRA instance.- Specified by:
setJiraLocale
in interfaceGeneralConfiguration
- Parameters:
locale
- The locale to use by default e.g."German (Germany)"
,"English (UK)"
-
setJiraLocaleByValue
Description copied from interface:GeneralConfiguration
Sets the default locale of this JIRA instance. Note that the system locale will have a value of -1. You can useGeneralConfiguration.setJiraLocaleToSystemDefault()
instead for this.- Specified by:
setJiraLocaleByValue
in interfaceGeneralConfiguration
- Parameters:
localeValue
- The value of the locale to use e.g."en_AU"
,"en_UK"
.
-
setJiraLocaleToSystemDefault
public void setJiraLocaleToSystemDefault()Description copied from interface:GeneralConfiguration
Sets the default locale to the system locale- Specified by:
setJiraLocaleToSystemDefault
in interfaceGeneralConfiguration
-
disableWatching
public void disableWatching()Description copied from interface:GeneralConfiguration
Disable watching of issues- Specified by:
disableWatching
in interfaceGeneralConfiguration
-
enableWatching
public void enableWatching()Description copied from interface:GeneralConfiguration
Enable watching of issues- Specified by:
enableWatching
in interfaceGeneralConfiguration
-
turnOnGZipCompression
public void turnOnGZipCompression()Description copied from interface:GeneralConfiguration
Turn on compression of web pages that JIRA sends to the browser.- Specified by:
turnOnGZipCompression
in interfaceGeneralConfiguration
-
setDefaultUserTimeZone
Description copied from interface:GeneralConfiguration
Sets the default user time zone for this JIRA instance. A null time zone means that JIRA will use the default JVM time zone.- Specified by:
setDefaultUserTimeZone
in interfaceGeneralConfiguration
-