|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.framework.AbstractFuncTestUtil com.atlassian.jira.functest.framework.admin.GeneralConfigurationImpl
public class GeneralConfigurationImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.GeneralConfiguration |
---|
GeneralConfiguration.CommentVisibility, GeneralConfiguration.EmailVisibility |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, logIndentLevel, tester |
Constructor Summary | |
---|---|
GeneralConfigurationImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
|
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneralConfigurationImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Method Detail |
---|
public void setAllowUnassignedIssues(boolean enable)
setAllowUnassignedIssues
in interface GeneralConfiguration
public void setExternalUserManagement(boolean enable)
setExternalUserManagement
in interface GeneralConfiguration
public void enableVoting()
enableVoting
in interface GeneralConfiguration
public void setCommentVisibility(GeneralConfiguration.CommentVisibility commentVisibility)
setCommentVisibility
in interface GeneralConfiguration
public void setUserEmailVisibility(GeneralConfiguration.EmailVisibility emailVisibility)
GeneralConfiguration
setUserEmailVisibility
in interface GeneralConfiguration
emailVisibility
- one of the predefined visibility levelsGeneralConfiguration.EmailVisibility
public void setJqlAutocomplete(boolean enable)
setJqlAutocomplete
in interface GeneralConfiguration
enable
- enable or disable JQL Auto-complete globallypublic void disableVoting()
disableVoting
in interface GeneralConfiguration
public void setBaseUrl(String baseUrl)
GeneralConfiguration
setBaseUrl
in interface GeneralConfiguration
baseUrl
- The baseurl to use for this instancepublic void fixBaseUrl()
GeneralConfiguration
fixBaseUrl
in interface GeneralConfiguration
public void setJiraLocale(String locale)
GeneralConfiguration
setJiraLocale
in interface GeneralConfiguration
locale
- The locale to use by default e.g. "German (Germany)"
, "English (UK)"
public void disableWatching()
GeneralConfiguration
disableWatching
in interface GeneralConfiguration
public void enableWatching()
GeneralConfiguration
enableWatching
in interface GeneralConfiguration
public void turnOnGZipCompression()
GeneralConfiguration
turnOnGZipCompression
in interface GeneralConfiguration
public void setDefaultUserTimeZone(String timeZoneID)
GeneralConfiguration
setDefaultUserTimeZone
in interface GeneralConfiguration
protected Navigation getNavigation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |