|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.it.admin.EditGeneralConfiguration
public class EditGeneralConfiguration
Allows setting and retrieving values from the general configuration section of the AdminConsole
.
Field Summary | |
---|---|
protected net.sourceforge.jwebunit.junit.WebTester |
webTester
|
protected java.lang.String |
workingForm
|
Constructor Summary | |
---|---|
protected |
EditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester,
java.lang.String workingForm)
|
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(net.sourceforge.jwebunit.junit.WebTester webTester)
|
long |
getAttachmentMaxSize()
|
long |
getMaxAttachmentsInUI()
|
protected boolean |
isOptionEnabled(java.lang.String optionName)
|
EditGeneralConfiguration |
setAttachmentMaxSize(long max)
|
EditGeneralConfiguration |
setBaseUrl(java.lang.String domainName)
|
EditGeneralConfiguration |
setCamelCaseEnabled(boolean enabled)
|
EditGeneralConfiguration |
setContactAdministratorsFormEnabled(boolean enabled)
|
EditGeneralConfiguration |
setCustomContactAdministratorsMessage(java.lang.String message)
|
EditGeneralConfiguration |
setGzipResponseEncodingEnabled(boolean enabled)
|
EditGeneralConfiguration |
setMaxAttachmentsInUI(long max)
|
protected void |
setOption(boolean enabled,
java.lang.String name)
|
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 |
Field Detail |
---|
protected final net.sourceforge.jwebunit.junit.WebTester webTester
protected final java.lang.String workingForm
Constructor Detail |
---|
protected EditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester, java.lang.String workingForm)
Method Detail |
---|
public static EditGeneralConfiguration editConfigurationFromAnywhere()
public static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
public ViewGeneralConfiguration submitAndView()
ViewGeneralConfiguration
, allowing the
view mode of the General Config to be tested.
public EditGeneralConfiguration submitAndReEdit()
public EditGeneralConfiguration submitExpectingErrors()
public void submit()
public ViewSecurityConfiguration cancel()
public EditGeneralConfiguration setCamelCaseEnabled(boolean enabled)
public EditGeneralConfiguration setBaseUrl(java.lang.String domainName)
public EditGeneralConfiguration setCustomContactAdministratorsMessage(java.lang.String message)
public EditGeneralConfiguration setContactAdministratorsFormEnabled(boolean enabled)
public EditGeneralConfiguration setGzipResponseEncodingEnabled(boolean enabled)
public long getAttachmentMaxSize()
public EditGeneralConfiguration setAttachmentMaxSize(long max)
public long getMaxAttachmentsInUI()
public EditGeneralConfiguration setMaxAttachmentsInUI(long max)
protected boolean isOptionEnabled(java.lang.String optionName)
protected void setOption(boolean enabled, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |