com.atlassian.confluence.it.admin
Class EditSpacesConfiguration

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

public class EditSpacesConfiguration
extends java.lang.Object


Field Summary
protected  net.sourceforge.jwebunit.junit.WebTester webTester
           
protected  java.lang.String workingForm
           
 
Method Summary
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(java.lang.String optionName)
           
 boolean isRemoteApiEnabled()
          Assumes that the webTester is already on the edit screen.
 boolean isTrackBackEnabled()
           
 EditSpacesConfiguration setAllowThreadedComments(boolean enabled)
           
 EditSpacesConfiguration setHomePage(java.lang.String selection)
           
protected  void setOption(boolean enabled, java.lang.String name)
           
 EditSpacesConfiguration setRemoteApiEnabled(boolean enabled)
           
 EditSpacesConfiguration setTrackBackEnabled(boolean enabled)
           
 void submit()
          Submit and don't construct a new state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webTester

protected final net.sourceforge.jwebunit.junit.WebTester webTester

workingForm

protected final java.lang.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)

isTrackBackEnabled

public boolean isTrackBackEnabled()

setTrackBackEnabled

public EditSpacesConfiguration setTrackBackEnabled(boolean enabled)

setAllowThreadedComments

public EditSpacesConfiguration setAllowThreadedComments(boolean enabled)

setHomePage

public EditSpacesConfiguration setHomePage(java.lang.String selection)

isOptionEnabled

protected boolean isOptionEnabled(java.lang.String optionName)

setOption

protected void setOption(boolean enabled,
                         java.lang.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.



Copyright © 2003-2014 Atlassian. All Rights Reserved.