com.atlassian.jira.webtests
Class JIRAGreenMailSetup
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JIRAGreenMailSetup
public JIRAGreenMailSetup(JIRAServerSetup[] jiraServerSetups)
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.