public interface

GeneralConfiguration

com.atlassian.jira.functest.framework.admin.GeneralConfiguration
Known Indirect Subclasses

Class Overview

Allows you to perform admin actions that happen in the GeneralConfiguration section of the admin section.

Summary

Nested Classes
enum GeneralConfiguration.CommentVisibility  
enum GeneralConfiguration.EmailVisibility Options for user email visibility 
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.

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)

Parameters
enable enable or disable JQL Auto-complete globally

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.