Class ReadmailHost
- java.lang.Object
-
- org.opennms.netmgt.config.mailtransporttest.ReadmailHost
-
- All Implemented Interfaces:
java.io.Serializable
public class ReadmailHost extends java.lang.Object implements java.io.Serializable
Define the host and port of the sendmail server. If you don't, defaults will be used and ${ipaddr} is replaced with the IP address of the service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadmailHost()
ReadmailHost(java.lang.String host, java.lang.Long port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getHost()
java.lang.Long
getPort()
ReadmailProtocol
getReadmailProtocol()
int
hashCode()
void
setHost(java.lang.String host)
void
setPort(java.lang.Long port)
void
setReadmailProtocol(ReadmailProtocol readmailProtocol)
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
getPort
public java.lang.Long getPort()
-
setPort
public void setPort(java.lang.Long port)
-
getReadmailProtocol
public ReadmailProtocol getReadmailProtocol()
-
setReadmailProtocol
public void setReadmailProtocol(ReadmailProtocol readmailProtocol)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-