Package org.opennms.netmgt.mock
Class MockNotification
- java.lang.Object
-
- org.opennms.netmgt.mock.MockNotification
-
public class MockNotification extends java.lang.Object
- Author:
- david
-
-
Constructor Summary
Constructors Constructor Description MockNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getEmail()
long
getExpectedTime()
java.lang.String
getPmail()
java.lang.String
getSubject()
java.lang.String
getTextMsg()
int
hashCode()
void
setEmail(java.lang.String email)
void
setExpectedTime(long expectedTime)
void
setPmail(java.lang.String pmail)
void
setSubject(java.lang.String subject)
void
setTextMsg(java.lang.String textMsg)
java.lang.String
toString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
getEmail
public java.lang.String getEmail()
- Returns:
- Returns the email.
-
setEmail
public void setEmail(java.lang.String email)
- Parameters:
email
- The email to set.
-
getPmail
public java.lang.String getPmail()
- Returns:
- Returns the pmail.
-
setPmail
public void setPmail(java.lang.String pmail)
- Parameters:
pmail
- The pmail to set.
-
getSubject
public java.lang.String getSubject()
- Returns:
- Returns the subject.
-
setSubject
public void setSubject(java.lang.String subject)
- Parameters:
subject
- The subject to set.
-
getExpectedTime
public long getExpectedTime()
-
setExpectedTime
public void setExpectedTime(long expectedTime)
-
getTextMsg
public java.lang.String getTextMsg()
- Returns:
- Returns the m_textMsg.
-
setTextMsg
public void setTextMsg(java.lang.String textMsg)
- Parameters:
textMsg
- The m_textMsg to set.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-