Interface MailServerAdministration.PopMailServerAdministration
- Enclosing interface:
- MailServerAdministration
public static interface MailServerAdministration.PopMailServerAdministration
Represents the POP/IMAP Mail Server Panel in the Mail Servers Administration Page.
- Since:
- v4.3
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new POP/IMAP Server configurationRemoves a mail server with a specified name.Navigates to the edit pop server configuration form for a mail server.goTo()
Navigates to the Mail Servers Administration Page.boolean
Determines whether the POP/IMAP Mail Server Administration Panel is on the page.list()
Gets the list of current POP/IMAP Mail Server configurations.
-
Method Details
-
add
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.
-
isPresent
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.
-
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.
-
edit
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.
-
delete
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.- Returns:
-
goTo
Navigates to the Mail Servers Administration Page.- Returns:
- this instance of the page.
-