public static interface

MailServerAdministration.PopMailServerAdministration

com.atlassian.jira.functest.framework.admin.MailServerAdministration.PopMailServerAdministration

Class Overview

Represents the POP/IMAP Mail Server Panel in the Mail Servers Administration Page.

Summary

Public Methods
MailServerAdministration add(String name, String hostName, String userName, String password)
Adds a new POP/IMAP Server configuration
MailServerAdministration delete(String mailServerName)
Removes a mail server with a specified name.
EditPopServerConfiguration edit(String mailServerName)
Navigates to the edit pop server configuration form for a mail server.
MailServerAdministration.PopMailServerAdministration goTo()
Navigates to the Mail Servers Administration Page.
boolean isPresent()
Determines whether the POP/IMAP Mail Server Administration Panel is on the page.
List<MailServerAdministration.MailServerConfiguration> list()
Gets the list of current POP/IMAP Mail Server configurations.

Public Methods

public MailServerAdministration add (String name, String hostName, String userName, String password)

Adds a new POP/IMAP Server configuration

Parameters
name The name to use for this server within JIRA.
hostName The host name of the POP/IMAP server.
userName The user name for the POP/IMAP account.
password The password for the POP/IMAP account.
Returns
  • An instance of the Mail Server Administration page.

public MailServerAdministration delete (String mailServerName)

Removes a mail server with a specified name. It confirms the deletion on the confirm delete page for you.

Parameters
mailServerName The name of the mail server to delete.

public EditPopServerConfiguration edit (String mailServerName)

Navigates to the edit pop server configuration form for a mail server.

Parameters
mailServerName The name of the mail server to edit.
Returns
  • An instance of EditPopServerConfiguration that can be used to update the configuration of the specified mail server.

public MailServerAdministration.PopMailServerAdministration goTo ()

Navigates to the Mail Servers Administration Page.

Returns
  • this instance of the page.

public boolean isPresent ()

Determines whether the POP/IMAP Mail Server Administration Panel is on the page.

Returns
  • true if the POP/IMAP Mail Server Administration Panel is on the page; otherwise, false.

public List<MailServerAdministration.MailServerConfiguration> list ()

Gets the list of current POP/IMAP Mail Server configurations.

Returns
  • the current POP/IMAP Mail Server configuration. If there is no configured mail servers an empty iterable is returned.