public class JIRAGreenMailSetup extends Object
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 and Description |
---|
JIRAGreenMailSetup(JIRAServerSetup[] jiraServerSetups) |
Modifier and Type | Method and Description |
---|---|
JIRAServerSetup |
getImapSetup() |
JIRAServerSetup |
getPop3Setup() |
JIRAServerSetup |
getServerSetup(String protocol) |
JIRAServerSetup[] |
getServerSetups() |
JIRAServerSetup |
getSmtpSetup() |
void |
incrementPorts()
Increment each
JIRAServerSetup's port by 1 |
public JIRAGreenMailSetup(JIRAServerSetup[] jiraServerSetups)
public void incrementPorts()
JIRAServerSetup's
port by 1public JIRAServerSetup[] getServerSetups()
public JIRAServerSetup getSmtpSetup()
public JIRAServerSetup getPop3Setup()
public JIRAServerSetup getImapSetup()
public JIRAServerSetup getServerSetup(String protocol)
Copyright © 2002-2019 Atlassian. All Rights Reserved.