java.lang.Object |
↳ |
com.icegreen.greenmail.util.ServerSetup |
|
↳ |
com.atlassian.jira.webtests.JIRAServerSetup |
Class Overview
Extends com.icegreen.greenmail.util.ServerSetup so that the port can be incremented/changed.
This is so that, if the port is already in use a different port can be used with the same instance
and not having to create a whole new one.
Defines a series of non-default ports for JIRA test purposes.
The ports for the various protocols are the default ones plus an offset of
PORT_OFFSET
.
i.e.
smtp | 25025 |
smtps | 25465 |
pop3 | 25110 |
pop3s | 25995 |
imap | 25143 |
imaps | 25993 |
Use com.icegreen.greenmail.util.ServerSetup for default ports
See Also
- com.icegreen.greenmail.util.ServerSetup
Summary
[Expand]
Inherited Constants |
From class
com.icegreen.greenmail.util.ServerSetup
|
[Expand]
Inherited Fields |
From class
com.icegreen.greenmail.util.ServerSetup
public
static
final
ServerSetup[] |
ALL |
|
public
static
final
ServerSetup |
IMAP |
|
public
static
final
ServerSetup |
IMAPS |
|
public
static
final
ServerSetup |
POP3 |
|
public
static
final
ServerSetup |
POP3S |
|
public
static
final
ServerSetup |
SMTP |
|
public
static
final
ServerSetup |
SMTPS |
|
public
static
final
ServerSetup[] |
SMTPS_IMAPS |
|
public
static
final
ServerSetup[] |
SMTPS_POP3S |
|
public
static
final
ServerSetup[] |
SMTPS_POP3S_IMAPS |
|
public
static
final
ServerSetup[] |
SMTP_IMAP |
|
public
static
final
ServerSetup[] |
SMTP_POP3 |
|
public
static
final
ServerSetup[] |
SMTP_POP3_IMAP |
|
|
Public Methods |
int
|
getPort()
Overriden so that it uses the local port value and not the super's
|
void
|
incrementPort()
Increment the port by 1
|
void
|
setPort(int port)
|
[Expand]
Inherited Methods |
From class
com.icegreen.greenmail.util.ServerSetup
String
|
getBindAddress()
|
int
|
getPort()
|
String
|
getProtocol()
|
boolean
|
isSecure()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
String
HOST
Constant Value:
"localhost"
public
static
final
int
PORT_OFFSET
Constant Value:
25000
(0x000061a8)
Fields
Public Constructors
public
JIRAServerSetup
(int port, String bindAddress, String protocol)
Public Methods
public
int
getPort
()
Overriden so that it uses the local port value and not the super's
public
void
incrementPort
()
public
void
setPort
(int port)