com.atlassian.jira.functest.framework.admin
Interface GeneralConfiguration

All Known Implementing Classes:
GeneralConfigurationImpl

public interface GeneralConfiguration

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

Since:
v3.13

Nested Class Summary
static class GeneralConfiguration.CommentVisibility
           
static class GeneralConfiguration.EmailVisibility
          Options for user email visibility
 
Method Summary
 void disableVoting()
           
 void disableWatching()
          Disable watching of issues
 void enableRemoteApi()
           
 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.
 GeneralConfiguration useGravatars(boolean useGravatars)
          Enables or disables the use of Gravatars.
 

Method Detail

setAllowUnassignedIssues

void setAllowUnassignedIssues(boolean enable)

setExternalUserManagement

void setExternalUserManagement(boolean enable)

disableVoting

void disableVoting()

enableVoting

void enableVoting()

enableRemoteApi

void enableRemoteApi()

setCommentVisibility

void setCommentVisibility(GeneralConfiguration.CommentVisibility commentVisibility)

setUserEmailVisibility

void setUserEmailVisibility(GeneralConfiguration.EmailVisibility emailVisibility)
Set the visibility level of user emails.

Parameters:
emailVisibility - one of the predefined visibility levels
See Also:
GeneralConfiguration.EmailVisibility

setJqlAutocomplete

void setJqlAutocomplete(boolean enable)
Parameters:
enable - enable or disable JQL Auto-complete globally

setBaseUrl

void setBaseUrl(String baseUrl)
Set the baseUrl of this JIRA instance to the String provided.

Parameters:
baseUrl - The baseurl to use for this instance

fixBaseUrl

void fixBaseUrl()
Set the baseUrl to that of the functional base URL.


setJiraLocale

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)"

setJiraLocaleByValue

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".

setJiraLocaleToSystemDefault

void setJiraLocaleToSystemDefault()
Sets the default locale to the system locale


disableWatching

void disableWatching()
Disable watching of issues


enableWatching

void enableWatching()
Enable watching of issues


turnOnGZipCompression

void turnOnGZipCompression()
Turn on compression of web pages that JIRA sends to the browser.


setDefaultUserTimeZone

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.

Parameters:
timeZoneID -

useGravatars

GeneralConfiguration useGravatars(boolean useGravatars)
Enables or disables the use of Gravatars.

Parameters:
useGravatars - a boolean indicating whether to turn on Gravatars
Returns:
this


Copyright © 2002-2013 Atlassian. All Rights Reserved.