public class EditSpacesConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected net.sourceforge.jwebunit.junit.WebTester |
webTester |
protected String |
workingForm |
Modifier and Type | Method and Description |
---|---|
static EditSpacesConfiguration |
editConfigurationFromAnywhere()
Factory method to visit the edit configuration screen from anywhere.
|
static EditSpacesConfiguration |
editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester) |
protected static EditSpacesConfiguration |
editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester) |
protected boolean |
isOptionEnabled(String optionName) |
boolean |
isRemoteApiEnabled()
Assumes that the webTester is already on the edit screen.
|
EditSpacesConfiguration |
setAllowThreadedComments(boolean enabled) |
EditSpacesConfiguration |
setHomePage(String selection) |
protected void |
setOption(boolean enabled,
String name) |
EditSpacesConfiguration |
setRemoteApiEnabled(boolean enabled) |
void |
submit()
Submit and don't construct a new state.
|
protected final net.sourceforge.jwebunit.junit.WebTester webTester
protected final String workingForm
public static EditSpacesConfiguration editConfigurationFromAnywhere()
public static EditSpacesConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
protected static EditSpacesConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
public boolean isRemoteApiEnabled()
public EditSpacesConfiguration setRemoteApiEnabled(boolean enabled)
public EditSpacesConfiguration setAllowThreadedComments(boolean enabled)
public EditSpacesConfiguration setHomePage(String selection)
protected boolean isOptionEnabled(String optionName)
protected void setOption(boolean enabled, String name)
public void submit()
Copyright © 2003–2020 Atlassian. All rights reserved.