Class SmtpSettings
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.ignition.gateway.smtp.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanField
DebugModeEnabled
static StringField
Description
static StringField
Hostname
static IdentityField
Id
static RecordMeta<SmtpSettings>
META
static StringField
Name
static EncodedStringField
Password
static IntField
Port
static LongField
SmtpTimeout
static StringField
SSLProtocols
static BooleanField
StartTlsEnabled
static StringField
Username
static BooleanField
UseSSLPort
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description SmtpSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHostname()
java.lang.Long
getId()
RecordMeta<?>
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.java.lang.String
getName()
java.lang.String
getPassword()
int
getPort()
long
getSmtpTimeout()
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.java.lang.String
getUsername()
boolean
isDebugModeEnabled()
boolean
isStartTlsEnabled()
Use StartTlsboolean
isUseSSLport()
Use Ssl/Tls port-
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
-
Methods inherited from class simpleorm.dataset.SRecordInstance
allFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
-
-
-
-
Field Detail
-
META
public static final RecordMeta<SmtpSettings> META
-
Id
public static final IdentityField Id
-
Name
public static final StringField Name
-
Description
public static final StringField Description
-
Hostname
public static final StringField Hostname
-
Port
public static final IntField Port
-
UseSSLPort
public static final BooleanField UseSSLPort
-
StartTlsEnabled
public static final BooleanField StartTlsEnabled
-
Username
public static final StringField Username
-
Password
public static final EncodedStringField Password
-
SmtpTimeout
public static final LongField SmtpTimeout
-
DebugModeEnabled
public static final BooleanField DebugModeEnabled
-
SSLProtocols
public static final StringField SSLProtocols
-
-
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 classPersistentRecord
-
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()
-
-