Class SendmailMessage
- java.lang.Object
-
- org.opennms.netmgt.config.mailtransporttest.SendmailMessage
-
- All Implemented Interfaces:
java.io.Serializable
public class SendmailMessage extends java.lang.Object implements java.io.Serializable
Define the to, from, subject, and body of a message. If not defined, one will be defined for your benefit (or confusion ;-)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SendmailMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getBody()
java.lang.String
getFrom()
java.lang.String
getSubject()
java.lang.String
getTo()
int
hashCode()
void
setBody(java.lang.String body)
void
setFrom(java.lang.String from)
void
setSubject(java.lang.String subject)
void
setTo(java.lang.String to)
-
-
-
Method Detail
-
getTo
public java.lang.String getTo()
-
setTo
public void setTo(java.lang.String to)
-
getFrom
public java.lang.String getFrom()
-
setFrom
public void setFrom(java.lang.String from)
-
getSubject
public java.lang.String getSubject()
-
setSubject
public void setSubject(java.lang.String subject)
-
getBody
public java.lang.String getBody()
-
setBody
public void setBody(java.lang.String body)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-