public class

GeneralConfigurationImpl

extends AbstractFuncTestUtil
implements GeneralConfiguration
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
     ↳ com.atlassian.jira.functest.framework.admin.GeneralConfigurationImpl

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Public Constructors
GeneralConfigurationImpl(WebTester tester, JIRAEnvironmentData environmentData)
Public Methods
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.
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.
Protected Methods
Navigation getNavigation()
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.admin.GeneralConfiguration
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

Public Constructors

public GeneralConfigurationImpl (WebTester tester, JIRAEnvironmentData environmentData)

Public Methods

public void disableVoting ()

public void disableWatching ()

Disable watching of issues

public void enableVoting ()

public void enableWatching ()

Enable watching of issues

public void fixBaseUrl ()

Set the baseUrl to that of the functional base URL.

public void setAllowUnassignedIssues (boolean enable)

public void setBaseUrl (String baseUrl)

Set the baseUrl of this JIRA instance to the String provided.

Parameters
baseUrl The baseurl to use for this instance

public void setCommentVisibility (GeneralConfiguration.CommentVisibility commentVisibility)

public void setDefaultUserTimeZone (String timeZoneID)

Sets the default user time zone for this JIRA instance. A null time zone means that JIRA will use the default JVM time zone.

public void setExternalUserManagement (boolean enable)

public void setJiraLocale (String locale)

Sets the default locale of this JIRA instance.

Parameters
locale The locale to use by default e.g. "German (Germany)", "English (UK)"

public void setJiraLocaleByValue (String localeValue)

Sets the default locale of this JIRA instance.

Note that the system locale will have a value of -1. You can use setJiraLocaleToSystemDefault() instead for this.

Parameters
localeValue The value of the locale to use e.g. "en_AU", "en_UK".

public void setJiraLocaleToSystemDefault ()

Sets the default locale to the system locale

public void setJqlAutocomplete (boolean enable)

public void setUserEmailVisibility (GeneralConfiguration.EmailVisibility emailVisibility)

Set the visibility level of user emails.

Parameters
emailVisibility one of the predefined visibility levels

public void turnOnGZipCompression ()

Turn on compression of web pages that JIRA sends to the browser.

Protected Methods

protected Navigation getNavigation ()