com.atlassian.jira.webtests
Class JIRAGreenMailSetup

java.lang.Object
  extended by com.atlassian.jira.webtests.JIRAGreenMailSetup

public class JIRAGreenMailSetup
extends Object

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.


Constructor Summary
JIRAGreenMailSetup(JIRAServerSetup[] jiraServerSetups)
           
 
Method Summary
 JIRAServerSetup getImapSetup()
           
 JIRAServerSetup getPop3Setup()
           
 JIRAServerSetup getServerSetup(String protocol)
           
 JIRAServerSetup[] getServerSetups()
           
 JIRAServerSetup getSmtpSetup()
           
 void incrementPorts()
          Increment each JIRAServerSetup's port by 1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JIRAGreenMailSetup

public JIRAGreenMailSetup(JIRAServerSetup[] jiraServerSetups)
Method Detail

incrementPorts

public void incrementPorts()
Increment each JIRAServerSetup's port by 1


getServerSetups

public JIRAServerSetup[] getServerSetups()

getSmtpSetup

public JIRAServerSetup getSmtpSetup()

getPop3Setup

public JIRAServerSetup getPop3Setup()

getImapSetup

public JIRAServerSetup getImapSetup()

getServerSetup

public JIRAServerSetup getServerSetup(String protocol)


Copyright © 2002-2012 Atlassian. All Rights Reserved.