Class EditMailServerAdminPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.EditMailServerAdminPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class EditMailServerAdminPage extends AbstractBambooAdminPage
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description EditMailServerAdminPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.ViewMailServerAdminPage
save()
EditMailServerAdminPage
saveAndSendTestEmail()
EditMailServerAdminPage
withFromAddress(String fromAddress)
EditMailServerAdminPage
withMailMode(MailConfigurationService.MailMode mailMode)
EditMailServerAdminPage
withName(String name)
EditMailServerAdminPage
withPassword(String password)
EditMailServerAdminPage
withSmtpPort(int port)
EditMailServerAdminPage
withSmtpServer(String smtpServer)
EditMailServerAdminPage
withSubjectPrefix(String subjectPrefix)
EditMailServerAdminPage
withTestRecipient(String testRecipient)
EditMailServerAdminPage
withTlsRequired(boolean useTls)
EditMailServerAdminPage
withUsername(String username)
EditMailServerAdminPage
withUseSmtpAuthChecked(boolean useSmtpAuth)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
getUrl
public String getUrl()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
withName
public EditMailServerAdminPage withName(String name)
-
withFromAddress
public EditMailServerAdminPage withFromAddress(String fromAddress)
-
withSubjectPrefix
public EditMailServerAdminPage withSubjectPrefix(String subjectPrefix)
-
withMailMode
public EditMailServerAdminPage withMailMode(MailConfigurationService.MailMode mailMode)
-
withSmtpServer
public EditMailServerAdminPage withSmtpServer(String smtpServer)
-
withSmtpPort
public EditMailServerAdminPage withSmtpPort(int port)
-
withUseSmtpAuthChecked
public EditMailServerAdminPage withUseSmtpAuthChecked(boolean useSmtpAuth)
-
withUsername
public EditMailServerAdminPage withUsername(String username)
-
withPassword
public EditMailServerAdminPage withPassword(String password)
-
withTlsRequired
public EditMailServerAdminPage withTlsRequired(boolean useTls)
-
withTestRecipient
public EditMailServerAdminPage withTestRecipient(String testRecipient)
-
save
public ViewMailServerAdminPage save()
-
saveAndSendTestEmail
public EditMailServerAdminPage saveAndSendTestEmail()
-
-