Class SendmailTest

  • All Implemented Interfaces:
    java.io.Serializable

    public class SendmailTest
    extends java.lang.Object
    implements java.io.Serializable
    This entity defines the test for sending mail. Attributes are used to derive values of java mail properties, or, they can be specified directly as key value pairs. Attributes will are easier to read but there isn't an attribute for every javamail property possible (some are fairly obscure).
    See Also:
    Serialized Form
    • Constructor Detail

      • SendmailTest

        public SendmailTest()
      • SendmailTest

        public SendmailTest​(java.lang.Long attemptInterval,
                            java.lang.Boolean debug,
                            java.lang.Boolean useAuthentication,
                            java.lang.Boolean useJmta)
    • Method Detail

      • getDebug

        public java.lang.Boolean getDebug()
      • setDebug

        public void setDebug​(java.lang.Boolean debug)
      • getUseAuthentication

        public java.lang.Boolean getUseAuthentication()
      • setUseAuthentication

        public void setUseAuthentication​(java.lang.Boolean useAuthentication)
      • getUseJmta

        public java.lang.Boolean getUseJmta()
      • setUseJmta

        public void setUseJmta​(java.lang.Boolean useJmta)
      • getAttemptInterval

        public java.lang.Long getAttemptInterval()
      • setAttemptInterval

        public void setAttemptInterval​(java.lang.Long attemptInterval)
      • getJavamailProperties

        public java.util.List<JavamailProperty> getJavamailProperties()
      • setJavamailProperties

        public void setJavamailProperties​(java.util.List<JavamailProperty> javamailProperties)
      • addJavamailProperty

        public void addJavamailProperty​(JavamailProperty property)
      • addJavamailProperty

        public void addJavamailProperty​(java.lang.String name,
                                        java.lang.String value)
      • removeJavamailProperty

        public boolean removeJavamailProperty​(JavamailProperty javamailProperty)
      • setSendmailHost

        public void setSendmailHost​(SendmailHost sendmailHost)
      • setSendmailHost

        public void setSendmailHost​(java.lang.String host,
                                    java.lang.Long port)
      • setSendmailProtocol

        public void setSendmailProtocol​(SendmailProtocol sendmailProtocol)
      • setSendmailMessage

        public void setSendmailMessage​(SendmailMessage sendmailMessage)
      • getUserAuth

        public java.util.Optional<UserAuth> getUserAuth()
      • setUserAuth

        public void setUserAuth​(UserAuth userAuth)
      • setUserAuth

        public void setUserAuth​(java.lang.String username,
                                java.lang.String password)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object