public class

JIRAGreenMailSetup

extends Object
java.lang.Object
   ↳ com.atlassian.jira.webtests.JIRAGreenMailSetup

Class Overview

A convinience holder for an array of JIRAServerSetup to increment each setup's port by 1 when needed. You would increment the ports by 1 if any of the ports are already in use.

You can also get specific server setups for the protocols: smtp, pop3, imap by the appropriate getter methods.

Summary

Public Constructors
JIRAGreenMailSetup(JIRAServerSetup[] jiraServerSetups)
Public Methods
JIRAServerSetup getImapSetup()
JIRAServerSetup getPop3Setup()
JIRAServerSetup getServerSetup(String protocol)
JIRAServerSetup[] getServerSetups()
JIRAServerSetup getSmtpSetup()
void incrementPorts()
Increment each JIRAServerSetup's port by 1
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public JIRAGreenMailSetup (JIRAServerSetup[] jiraServerSetups)

Public Methods

public JIRAServerSetup getImapSetup ()

public JIRAServerSetup getPop3Setup ()

public JIRAServerSetup getServerSetup (String protocol)

public JIRAServerSetup[] getServerSetups ()

public JIRAServerSetup getSmtpSetup ()

public void incrementPorts ()

Increment each JIRAServerSetup's port by 1