Class MailTransportParameters
- java.lang.Object
-
- org.opennms.netmgt.poller.monitors.MailTransportParameters
-
public class MailTransportParameters extends Object
This is a wrapper class for handling JavaMail configurations.- Version:
- $Id: $
- Author:
- David Hustace
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComputedTestSubject()
getComputedTestSubjectProperties
getJavamailProperties()
getJavamailPropertieslong
getReadTestAttemptInterval()
getReadTestAttemptIntervalString
getReadTestFolder()
getReadTestFolderString
getReadTestHost()
getReadTestHostString
getReadTestPassword()
getReadTestPasswordint
getReadTestPort()
getReadTestPortString
getReadTestProtocol()
getReadTestProtocolString
getReadTestUserName()
getReadTestUserNameint
getRetries()
getRetrieslong
getSendTestAttemptInterval()
getSendTestAttemptIntervalString
getSendTestCharSet()
getSendTestCharSetString
getSendTestHost()
getSendTestHostString
getSendTestMailer()
getSendTestMailerString
getSendTestMessageBody()
getSendTestMessageBodyString
getSendTestMessageContentType()
getSendTestMessageContentTypeString
getSendTestMessageEncoding()
getSendTestMessageEncodingString
getSendTestPassword()
getSendTestPasswordint
getSendTestPort()
getSendTestPortString
getSendTestRecipeint()
getSendTestRecipeintString
getSendTestSubject()
getSendTestSubjectString
getSendTestTransport()
getSendTestTransportString
getSendTestUserName()
getSendTestUserNameString
getTestSubjectSuffix()
getTestSubjectSuffixint
getTimeout()
getTimeoutboolean
isEnd2EndTestInProgress()
isEnd2EndTestInProgressboolean
isReadTestSslEnabled()
isReadTestSslEnabledboolean
isReadTestStartTlsEnabled()
isReadTestStartTlsEnabledboolean
isSendTestDebug()
isSendTestDebugboolean
isSendTestIsQuitWait()
isSendTestIsQuitWaitboolean
isSendTestIsSslEnable()
isSendTestIsSslEnableboolean
isSendTestStartTls()
isSendTestStartTlsboolean
isSendTestUseAuth()
isSendTestUseAuthboolean
isSendTestUseJmta()
isSendTestUseJmtavoid
setEnd2EndTestInProgress(boolean b)
setEnd2EndTestInProgressvoid
setJavamailProperties(Properties props)
setJavamailPropertiesvoid
setReadTestHost(String host)
setReadTestHostvoid
setSendTestHost(String host)
setSendTestHostvoid
setTestSubjectSuffix(String suffix)
setTestSubjectSuffix
-
-
-
Field Detail
-
KEY
public static final String KEY
ConstantKEY="MailTransportParameters.class.getName()"
-
-
Method Detail
-
getRetries
public int getRetries()
getRetries
- Returns:
- a int.
-
getTimeout
public int getTimeout()
getTimeout
- Returns:
- a int.
-
getReadTestPassword
public String getReadTestPassword()
getReadTestPassword
- Returns:
- a
String
object.
-
getTestSubjectSuffix
public String getTestSubjectSuffix()
getTestSubjectSuffix
- Returns:
- a
String
object.
-
setTestSubjectSuffix
public void setTestSubjectSuffix(String suffix)
setTestSubjectSuffix
- Parameters:
suffix
- aString
object.
-
getComputedTestSubject
public String getComputedTestSubject()
getComputedTestSubject
- Returns:
- a
String
object.
-
isSendTestUseAuth
public boolean isSendTestUseAuth()
isSendTestUseAuth
- Returns:
- a boolean.
-
getSendTestMessageContentType
public String getSendTestMessageContentType()
getSendTestMessageContentType
- Returns:
- a
String
object.
-
isSendTestDebug
public boolean isSendTestDebug()
isSendTestDebug
- Returns:
- a boolean.
-
getSendTestMessageEncoding
public String getSendTestMessageEncoding()
getSendTestMessageEncoding
- Returns:
- a
String
object.
-
getSendTestMessageBody
public String getSendTestMessageBody()
getSendTestMessageBody
- Returns:
- a
String
object.
-
getSendTestPassword
public String getSendTestPassword()
getSendTestPassword
- Returns:
- a
String
object.
-
isSendTestIsQuitWait
public boolean isSendTestIsQuitWait()
isSendTestIsQuitWait
- Returns:
- a boolean.
-
getSendTestPort
public int getSendTestPort()
getSendTestPort
- Returns:
- a int.
-
isSendTestIsSslEnable
public boolean isSendTestIsSslEnable()
isSendTestIsSslEnable
- Returns:
- a boolean.
-
isSendTestStartTls
public boolean isSendTestStartTls()
isSendTestStartTls
- Returns:
- a boolean.
-
getSendTestRecipeint
public String getSendTestRecipeint()
getSendTestRecipeint
- Returns:
- a
String
object.
-
getSendTestTransport
public String getSendTestTransport()
getSendTestTransport
- Returns:
- a
String
object.
-
isSendTestUseJmta
public boolean isSendTestUseJmta()
isSendTestUseJmta
- Returns:
- a boolean.
-
getSendTestUserName
public String getSendTestUserName()
getSendTestUserName
- Returns:
- a
String
object.
-
getReadTestPort
public int getReadTestPort()
getReadTestPort
- Returns:
- a int.
-
getReadTestUserName
public String getReadTestUserName()
getReadTestUserName
- Returns:
- a
String
object.
-
getReadTestProtocol
public String getReadTestProtocol()
getReadTestProtocol
- Returns:
- a
String
object.
-
isReadTestStartTlsEnabled
public boolean isReadTestStartTlsEnabled()
isReadTestStartTlsEnabled
- Returns:
- a boolean.
-
isReadTestSslEnabled
public boolean isReadTestSslEnabled()
isReadTestSslEnabled
- Returns:
- a boolean.
-
setEnd2EndTestInProgress
public void setEnd2EndTestInProgress(boolean b)
setEnd2EndTestInProgress
- Parameters:
b
- a boolean.
-
isEnd2EndTestInProgress
public boolean isEnd2EndTestInProgress()
isEnd2EndTestInProgress
- Returns:
- a boolean.
-
getReadTestAttemptInterval
public long getReadTestAttemptInterval()
getReadTestAttemptInterval
- Returns:
- a long.
-
getSendTestAttemptInterval
public long getSendTestAttemptInterval()
getSendTestAttemptInterval
- Returns:
- a long.
-
getJavamailProperties
public Properties getJavamailProperties()
getJavamailProperties
- Returns:
- a
Properties
object.
-
setJavamailProperties
public void setJavamailProperties(Properties props)
setJavamailProperties
- Parameters:
props
- aProperties
object.
-
setReadTestHost
public void setReadTestHost(String host)
setReadTestHost
- Parameters:
host
- aString
object.
-
-