com.atlassian.confluence.it.admin
Class EditGeneralConfiguration

java.lang.Object
  extended by com.atlassian.confluence.it.admin.EditGeneralConfiguration

public class EditGeneralConfiguration
extends Object

Allows setting and retrieving values from the general configuration section of the AdminConsole.


Method Summary
 ViewSecurityConfiguration cancel()
           
static EditGeneralConfiguration editConfigurationFromAnywhere()
          Factory method to visit the edit configuration screen from anywhere.
static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
           
protected static EditGeneralConfiguration editConfigurationFromView()
          Factory method to visit the edit configuration screen from anywhere.
protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 boolean isDidYouMeanEnabled()
           
 boolean isRemoteApiEnabled()
           
 boolean isTrackBackEnabled()
           
 EditGeneralConfiguration setBaseUrl(String domainName)
           
 EditGeneralConfiguration setCamelCaseEnabled(boolean enabled)
           
 EditGeneralConfiguration setContactAdministratorsFormEnabled(boolean enabled)
           
 EditGeneralConfiguration setCustomContactAdministratorsMessage(String message)
           
 EditGeneralConfiguration setDidYouMeanEnabled(boolean enabled)
           
 EditGeneralConfiguration setGzipResponseEncodingEnabled(boolean enabled)
           
 EditGeneralConfiguration setRemoteApiEnabled(boolean enabled)
           
 EditGeneralConfiguration setTrackBackEnabled(boolean enabled)
           
 void submit()
          Submit and don't construct a new state.
 EditGeneralConfiguration submitAndReEdit()
          Submit and immediately click edit so that more editing can be done.
 ViewGeneralConfiguration submitAndView()
          Submit and return a ViewGeneralConfiguration, allowing the view mode of the General Config to be tested.
 EditGeneralConfiguration submitExpectingErrors()
          Submit, expecting that we'll be taken back to the edit page and that there will be errors shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

editConfigurationFromAnywhere

public static EditGeneralConfiguration editConfigurationFromAnywhere()
Factory method to visit the edit configuration screen from anywhere.

Returns:
a new EditGeneralConfiguration ready to use.

editConfigurationFromAnywhere

public static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)

editConfigurationFromView

protected static EditGeneralConfiguration editConfigurationFromView()
Factory method to visit the edit configuration screen from anywhere.

Returns:
a new EditGeneralConfiguration ready to use.

editConfigurationFromView

protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)

submitAndView

public ViewGeneralConfiguration submitAndView()
Submit and return a ViewGeneralConfiguration, allowing the view mode of the General Config to be tested.


submitAndReEdit

public EditGeneralConfiguration submitAndReEdit()
Submit and immediately click edit so that more editing can be done.


submitExpectingErrors

public EditGeneralConfiguration submitExpectingErrors()
Submit, expecting that we'll be taken back to the edit page and that there will be errors shown.


submit

public void submit()
Submit and don't construct a new state. Useful in tearDowns when you aren't going to want to do anything with the result.


cancel

public ViewSecurityConfiguration cancel()

setDidYouMeanEnabled

public EditGeneralConfiguration setDidYouMeanEnabled(boolean enabled)

setCamelCaseEnabled

public EditGeneralConfiguration setCamelCaseEnabled(boolean enabled)

isDidYouMeanEnabled

public boolean isDidYouMeanEnabled()

setBaseUrl

public EditGeneralConfiguration setBaseUrl(String domainName)

setCustomContactAdministratorsMessage

public EditGeneralConfiguration setCustomContactAdministratorsMessage(String message)

setContactAdministratorsFormEnabled

public EditGeneralConfiguration setContactAdministratorsFormEnabled(boolean enabled)

isRemoteApiEnabled

public boolean isRemoteApiEnabled()

setRemoteApiEnabled

public EditGeneralConfiguration setRemoteApiEnabled(boolean enabled)

setGzipResponseEncodingEnabled

public EditGeneralConfiguration setGzipResponseEncodingEnabled(boolean enabled)

isTrackBackEnabled

public boolean isTrackBackEnabled()

setTrackBackEnabled

public EditGeneralConfiguration setTrackBackEnabled(boolean enabled)


Copyright © 2003-2013 Atlassian. All Rights Reserved.