|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.framework.admin.DefaultEditPopServerConfiguration
public class DefaultEditPopServerConfiguration
Nested Class Summary | |
---|---|
class |
DefaultEditPopServerConfiguration.PasswordIsMandatoryException
|
Constructor Summary | |
---|---|
DefaultEditPopServerConfiguration(MailServerAdministration parent,
net.sourceforge.jwebunit.WebTester tester)
|
Method Summary | |
---|---|
EditPopServerConfiguration |
setDescription(String description)
Sets the description field to an specified value. |
EditPopServerConfiguration |
setHostName(String hostName)
Sets the host name field to an specified value. |
EditPopServerConfiguration |
setName(String name)
Sets the name field to an specified value. |
EditPopServerConfiguration |
setPassword(String password)
Sets the password field to an specified value. |
EditPopServerConfiguration |
setPort(String portNumber)
Sets the port field to an specified value. |
EditPopServerConfiguration |
setProtocol(String protocol)
Sets the protocol select list to an specified option. |
EditPopServerConfiguration |
setTimeout(String timeout)
Sets the timeout field to an specified value. |
EditPopServerConfiguration |
setUserName(String userName)
Sets the user name field to an specified value. |
MailServerAdministration |
update()
Submits the edit POP/IMAP server configuration form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEditPopServerConfiguration(MailServerAdministration parent, net.sourceforge.jwebunit.WebTester tester)
Method Detail |
---|
public EditPopServerConfiguration setName(String name)
EditPopServerConfiguration
setName
in interface EditPopServerConfiguration
name
- The value of the name to set.
public EditPopServerConfiguration setDescription(String description)
EditPopServerConfiguration
setDescription
in interface EditPopServerConfiguration
description
- The value of the description to set.
public EditPopServerConfiguration setProtocol(String protocol)
EditPopServerConfiguration
setProtocol
in interface EditPopServerConfiguration
protocol
- The value of the protocol to set.
This must be one of the display values of the available options in the select list
(POP, SECURE_POP, IMAP, SECURE_IMAP)
public EditPopServerConfiguration setHostName(String hostName)
EditPopServerConfiguration
setHostName
in interface EditPopServerConfiguration
hostName
- The value of the host name to set.
public EditPopServerConfiguration setPort(String portNumber)
EditPopServerConfiguration
setPort
in interface EditPopServerConfiguration
portNumber
- The value of the port to set.
public EditPopServerConfiguration setTimeout(String timeout)
EditPopServerConfiguration
setTimeout
in interface EditPopServerConfiguration
timeout
- The value of the timeout to set.
public EditPopServerConfiguration setUserName(String userName)
EditPopServerConfiguration
setUserName
in interface EditPopServerConfiguration
userName
- The value of the user name to set.
public EditPopServerConfiguration setPassword(String password)
EditPopServerConfiguration
EditPopServerConfiguration.update()
to submit the form, this is because the field is always set blank when the update form
is displayed.
setPassword
in interface EditPopServerConfiguration
password
- The value of the password to set.
public MailServerAdministration update() throws DefaultEditPopServerConfiguration.PasswordIsMandatoryException
EditPopServerConfiguration
update
in interface EditPopServerConfiguration
DefaultEditPopServerConfiguration.PasswordIsMandatoryException
- if no value has been set for the password
field, you should always call EditPopServerConfiguration.setPassword(String)
before calling this method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |