Class SendmailHost
- java.lang.Object
-
- org.opennms.netmgt.config.mailtransporttest.SendmailHost
-
- All Implemented Interfaces:
java.io.Serializable
public class SendmailHost 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 SendmailHost()
SendmailHost(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()
int
hashCode()
void
setHost(java.lang.String host)
void
setPort(java.lang.Long port)
-
-
-
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)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-