Class MailServerPage

java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.MailServerPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class MailServerPage extends AbstractCrowdPage
  • Field Details

    • id

      protected com.atlassian.pageobjects.elements.PageElement id
    • notificationEmails

      protected com.atlassian.pageobjects.elements.PageElement notificationEmails
    • fromEmail

      protected com.atlassian.pageobjects.elements.PageElement fromEmail
    • subjectPrefix

      protected com.atlassian.pageobjects.elements.PageElement subjectPrefix
    • smtpOption

      protected com.atlassian.pageobjects.elements.PageElement smtpOption
    • jndiOption

      protected com.atlassian.pageobjects.elements.PageElement jndiOption
    • smtpHost

      protected com.atlassian.pageobjects.elements.PageElement smtpHost
    • smtpPort

      protected com.atlassian.pageobjects.elements.PageElement smtpPort
    • smtpUsername

      protected com.atlassian.pageobjects.elements.PageElement smtpUsername
    • smtpPassword

      protected com.atlassian.pageobjects.elements.PageElement smtpPassword
    • oauth2ConfigurationId

      protected com.atlassian.pageobjects.elements.SelectElement oauth2ConfigurationId
    • provider

      protected com.atlassian.oauth2.client.api.storage.config.ProviderType provider
    • timeout

      protected com.atlassian.pageobjects.elements.PageElement timeout
    • useSSL

      protected com.atlassian.pageobjects.elements.PageElement useSSL
    • jndiLocation

      protected com.atlassian.pageobjects.elements.PageElement jndiLocation
    • testConnectionButton

      protected com.atlassian.pageobjects.elements.PageElement testConnectionButton
    • authorizeButton

      protected com.atlassian.pageobjects.elements.PageElement authorizeButton
    • updateButton

      protected com.atlassian.pageobjects.elements.PageElement updateButton
    • startTLS

      protected com.atlassian.pageobjects.elements.PageElement startTLS
    • auiFlags

      @Inject protected AuiFlags auiFlags
    • auiFlagContainer

      protected com.atlassian.pageobjects.elements.PageElement auiFlagContainer
    • passwordChanger

      protected PasswordChanger passwordChanger
  • Constructor Details

    • MailServerPage

      public MailServerPage()
  • Method Details

    • isContentLoaded

      protected boolean isContentLoaded()
      Description copied from class: AbstractCrowdPage
      Returns whether the content has loaded. Used in AbstractCrowdPage.waitUntilContentLoaded(). Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.
      Overrides:
      isContentLoaded in class AbstractCrowdPage
    • init

      public void init()
    • setNotificationEmails

      public void setNotificationEmails(String value)
    • setFromEmail

      public void setFromEmail(String value)
    • setSubjectPrefix

      public void setSubjectPrefix(String value)
    • configureJndi

      public void configureJndi()
    • configureSMTP

      public void configureSMTP()
    • setSmtpHost

      public void setSmtpHost(String value)
    • setSmtpPort

      public void setSmtpPort(String value)
    • setSmtpUsername

      public void setSmtpUsername(String value)
    • setSmtpPassword

      public void setSmtpPassword(String value)
    • selectUsernameAndPasswordAuthentication

      public void selectUsernameAndPasswordAuthentication()
    • selectOauth2ConfigurationByName

      public void selectOauth2ConfigurationByName(String applinkName, com.atlassian.oauth2.client.api.storage.config.ProviderType provider)
    • setOauth2ConfigurationById

      public void setOauth2ConfigurationById(String applinkId, com.atlassian.oauth2.client.api.storage.config.ProviderType provider)
    • setTimeout

      public void setTimeout(String value)
    • setJndiLocation

      public void setJndiLocation(String value)
    • setUseSSL

      public void setUseSSL(boolean value)
    • setStartTLS

      public void setStartTLS(boolean value)
    • getNotificationEmails

      public String getNotificationEmails()
    • getFromEmail

      public String getFromEmail()
    • getSubjectPrefix

      public String getSubjectPrefix()
    • isSmtpSelected

      public boolean isSmtpSelected()
    • isJndiSelected

      public boolean isJndiSelected()
    • getSmtpHost

      public String getSmtpHost()
    • getSmtpPort

      public int getSmtpPort()
    • getSmtpUsername

      public String getSmtpUsername()
    • getSmtpPassword

      public String getSmtpPassword()
    • getOauth2ConfigurationId

      public String getOauth2ConfigurationId()
    • getOauth2ConfigurationLabel

      public String getOauth2ConfigurationLabel()
    • getTimeout

      public int getTimeout()
    • isSSL

      public boolean isSSL()
    • isStartTLS

      public boolean isStartTLS()
    • getJndiLocation

      public String getJndiLocation()
    • tryOpenTestEmailDialog

      public io.atlassian.fugue.Either<List<String>,MailServerPage.TestEmailDialog> tryOpenTestEmailDialog() throws com.atlassian.pageobjects.binder.PageBindingWaitException
      Throws:
      com.atlassian.pageobjects.binder.PageBindingWaitException
    • isAuthorizeOAuth2Allowed

      public boolean isAuthorizeOAuth2Allowed()
    • authorizeOAuth2

      public void authorizeOAuth2(String username, String password)
    • authorizeOAuth2

      public void authorizeOAuth2(String username, String password, boolean validate)
    • isSaveConfigurationAllowed

      public boolean isSaveConfigurationAllowed()
    • saveConfiguration

      public void saveConfiguration()
    • getValidationErrors

      public List<String> getValidationErrors()
    • getActionError

      public List<String> getActionError()
    • getAuiFlags

      public AuiFlags getAuiFlags()
    • getUrl

      public String getUrl()