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.SerializableDefine 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 booleanequals(java.lang.Object obj)java.lang.StringgetHost()java.lang.LonggetPort()ReadmailProtocolgetReadmailProtocol()inthashCode()voidsetHost(java.lang.String host)voidsetPort(java.lang.Long port)voidsetReadmailProtocol(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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-