Class ReadmailTest
- java.lang.Object
-
- org.opennms.netmgt.config.mailtransporttest.ReadmailTest
-
- All Implemented Interfaces:
java.io.Serializable
public class ReadmailTest extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadmailTest()
ReadmailTest(java.lang.Long attemptInterval, java.lang.Boolean debug, java.lang.String mailFolder, java.lang.String subjectMatch, java.lang.Boolean deleteAllMail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addJavamailProperty(java.lang.String name, java.lang.String value)
void
addJavamailProperty(JavamailProperty javamailProperty)
boolean
equals(java.lang.Object obj)
java.lang.Long
getAttemptInterval()
java.lang.Boolean
getDebug()
java.lang.Boolean
getDeleteAllMail()
java.util.List<JavamailProperty>
getJavamailProperties()
java.lang.String
getMailFolder()
ReadmailHost
getReadmailHost()
java.lang.String
getSubjectMatch()
java.util.Optional<UserAuth>
getUserAuth()
int
hashCode()
void
setAttemptInterval(java.lang.Long attemptInterval)
void
setDebug(java.lang.Boolean debug)
void
setDeleteAllMail(java.lang.Boolean deleteAllMail)
void
setJavamailProperties(java.util.List<JavamailProperty> javamailProperties)
void
setMailFolder(java.lang.String mailFolder)
void
setReadmailHost(ReadmailHost readmailHost)
void
setSubjectMatch(java.lang.String subjectMatch)
void
setUserAuth(java.lang.String username, java.lang.String password)
void
setUserAuth(UserAuth userAuth)
-
-
-
Method Detail
-
getDebug
public java.lang.Boolean getDebug()
-
setDebug
public void setDebug(java.lang.Boolean debug)
-
getMailFolder
public java.lang.String getMailFolder()
-
setMailFolder
public void setMailFolder(java.lang.String mailFolder)
-
getSubjectMatch
public java.lang.String getSubjectMatch()
-
setSubjectMatch
public void setSubjectMatch(java.lang.String subjectMatch)
-
getAttemptInterval
public java.lang.Long getAttemptInterval()
-
setAttemptInterval
public void setAttemptInterval(java.lang.Long attemptInterval)
-
getDeleteAllMail
public java.lang.Boolean getDeleteAllMail()
-
setDeleteAllMail
public void setDeleteAllMail(java.lang.Boolean deleteAllMail)
-
getJavamailProperties
public java.util.List<JavamailProperty> getJavamailProperties()
-
setJavamailProperties
public void setJavamailProperties(java.util.List<JavamailProperty> javamailProperties)
-
addJavamailProperty
public void addJavamailProperty(JavamailProperty javamailProperty)
-
addJavamailProperty
public void addJavamailProperty(java.lang.String name, java.lang.String value)
-
getReadmailHost
public ReadmailHost getReadmailHost()
-
setReadmailHost
public void setReadmailHost(ReadmailHost readmailHost)
-
getUserAuth
public java.util.Optional<UserAuth> getUserAuth()
-
setUserAuth
public void setUserAuth(UserAuth userAuth)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
setUserAuth
public void setUserAuth(java.lang.String username, java.lang.String password)
-
-