Class SmtpSettings

  • All Implemented Interfaces:
    java.io.Serializable

    public class SmtpSettings
    extends PersistentRecord
    Filename: SmtpSettings.java Created on Jan 15, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: SRGateway
    See Also:
    Serialized Form
    • Constructor Detail

      • SmtpSettings

        public SmtpSettings()
    • Method Detail

      • getMeta

        public RecordMeta<?> getMeta()
        Description copied from class: SRecordInstance
        This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-

         SRecord getMeta() {
           return meta;
         };
         

        The actual meta variable is thus not Serialized, but it would not be anyway as it is usually static.

        Specified by:
        getMeta in class PersistentRecord
      • getId

        public java.lang.Long getId()
      • getName

        public java.lang.String getName()
      • getHostname

        public java.lang.String getHostname()
      • getPort

        public int getPort()
      • isUseSSLport

        public boolean isUseSSLport()
        Use Ssl/Tls port
      • isStartTlsEnabled

        public boolean isStartTlsEnabled()
        Use StartTls
      • getSslProtocols

        public java.lang.String getSslProtocols()
        The list of protocols is comma separated (to be nicer to users) but needs to be whitespace delimited when actually set on the property.
      • getUsername

        public java.lang.String getUsername()
      • getPassword

        public java.lang.String getPassword()
      • getSmtpTimeout

        public long getSmtpTimeout()
      • isDebugModeEnabled

        public boolean isDebugModeEnabled()