Class EditSpacesConfiguration
- java.lang.Object
-
- com.atlassian.confluence.it.admin.EditSpacesConfiguration
-
public class EditSpacesConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected net.sourceforge.jwebunit.junit.WebTesterwebTesterprotected StringworkingForm
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EditSpacesConfigurationeditConfigurationFromAnywhere()Factory method to visit the edit configuration screen from anywhere.static EditSpacesConfigurationeditConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)protected static EditSpacesConfigurationeditConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)protected booleanisOptionEnabled(String optionName)booleanisRemoteApiEnabled()Assumes that the webTester is already on the edit screen.EditSpacesConfigurationsetAllowThreadedComments(boolean enabled)EditSpacesConfigurationsetHomePage(String selection)protected voidsetOption(boolean enabled, String name)EditSpacesConfigurationsetRemoteApiEnabled(boolean enabled)voidsubmit()Submit and don't construct a new state.
-
-
-
Field Detail
-
webTester
protected final net.sourceforge.jwebunit.junit.WebTester webTester
-
workingForm
protected final String workingForm
-
-
Method Detail
-
editConfigurationFromAnywhere
public static EditSpacesConfiguration editConfigurationFromAnywhere()
Factory method to visit the edit configuration screen from anywhere.- Returns:
- a new EditSpacesConfiguration ready to use.
-
editConfigurationFromAnywhere
public static EditSpacesConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
-
editConfigurationFromView
protected static EditSpacesConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
-
isRemoteApiEnabled
public boolean isRemoteApiEnabled()
Assumes that the webTester is already on the edit screen.
-
setRemoteApiEnabled
public EditSpacesConfiguration setRemoteApiEnabled(boolean enabled)
-
setAllowThreadedComments
public EditSpacesConfiguration setAllowThreadedComments(boolean enabled)
-
setHomePage
public EditSpacesConfiguration setHomePage(String selection)
-
isOptionEnabled
protected boolean isOptionEnabled(String optionName)
-
setOption
protected void setOption(boolean enabled, String name)
-
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.
-
-