com.atlassian.jira.functest.framework.admin
Interface MailServerAdministration.SmtpMailServerAdministration

Enclosing interface:
MailServerAdministration

public static interface MailServerAdministration.SmtpMailServerAdministration

Represents the Smtp Mail Server Panel in the Mail Servers Administration Page.

Since:
v4.3

Method Summary
 MailServerAdministration add(String name, String fromAddress, String emailPrefix, String hostName)
          Adds a new SMTP Server Configuration
 MailServerAdministration.MailServerConfiguration get()
          Gets the current Smtp Mail Server configuration.
 MailServerAdministration.SmtpMailServerAdministration goTo()
          Navigates to the Mail Servers Administration Page.
 boolean isConfigured()
          Determines whether an SMTP Server has been configured.
 boolean isPresent()
          Determines whether the Smtp Mail Server Administration Panel is on the page.
 

Method Detail

isPresent

boolean isPresent()
Determines whether the Smtp Mail Server Administration Panel is on the page.

Returns:
true if the Smtp Mail Server Administration Panel is on the page; otherwise, false.

get

MailServerAdministration.MailServerConfiguration get()
Gets the current Smtp Mail Server configuration.

Returns:
the current Smtp Mail Server configuration. If there is no configured mail server null is returned.

isConfigured

boolean isConfigured()
Determines whether an SMTP Server has been configured.

Returns:
true if an Smtp Server has been configured; otherwise, false.

add

MailServerAdministration add(String name,
                             String fromAddress,
                             String emailPrefix,
                             String hostName)
Adds a new SMTP Server Configuration

Parameters:
name - The name of this server within JIRA.
fromAddress - The default address this server will use to send emails from.
emailPrefix - The prefix for all outgoing email subjects.
hostName - The SMTP host name of your mail server.
Returns:
this instance of the mail servers administration page.

goTo

MailServerAdministration.SmtpMailServerAdministration goTo()
Navigates to the Mail Servers Administration Page.

Returns:
this instance of the page.


Copyright © 2002-2012 Atlassian. All Rights Reserved.