Class AbstractMailAgent<T extends AbstractMailAgent<T,U,V>,U extends AbstractMailProtocol<T,U,V>,V extends org.openremote.model.asset.agent.AgentLink<V>>
java.lang.Object
org.openremote.model.asset.Asset<T>
org.openremote.model.asset.agent.Agent<T,U,V>
org.openremote.agent.protocol.mail.AbstractMailAgent<T,U,V>
- All Implemented Interfaces:
org.openremote.model.asset.AssetInfo
,org.openremote.model.IdentifiableEntity<T>
- Direct Known Subclasses:
MailAgent
public abstract class AbstractMailAgent<T extends AbstractMailAgent<T,U,V>,U extends AbstractMailProtocol<T,U,V>,V extends org.openremote.model.asset.agent.AgentLink<V>>
extends org.openremote.model.asset.agent.Agent<T,U,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.model.asset.Asset
org.openremote.model.asset.Asset.AssetDeserializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.openremote.model.value.AttributeDescriptor<Integer>
static final org.openremote.model.value.AttributeDescriptor<Boolean>
static final @NotNull org.openremote.model.value.AttributeDescriptor<String>
static final org.openremote.model.value.AttributeDescriptor<String>
static final @NotNull org.openremote.model.value.AttributeDescriptor<Integer>
static final org.openremote.model.value.AttributeDescriptor<Boolean>
static final @NotNull org.openremote.model.value.AttributeDescriptor<String>
static final org.openremote.model.value.AttributeDescriptor<Boolean>
static final @NotNull org.openremote.model.value.AttributeDescriptor<org.openremote.model.auth.UsernamePassword>
Fields inherited from class org.openremote.model.asset.agent.Agent
BIND_HOST, BIND_PORT, DISABLED, MESSAGE_CHARSET, MESSAGE_CONVERT_BINARY, MESSAGE_CONVERT_HEX, MESSAGE_DELIMITERS, MESSAGE_MAX_LENGTH, MESSAGE_STRIP_DELIMITER, OAUTH_GRANT, POLLING_MILLIS, SERIAL_BAUDRATE, SERIAL_PORT, STATUS, UPDATE_ON_WRITE
Fields inherited from class org.openremote.model.asset.Asset
accessPublicRead, attributes, createdOn, EMAIL, id, LOCATION, MANUFACTURER, MODEL, name, NOTES, parentId, path, realm, TAGS, type, version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetCheckIntervalSeconds
(Integer value) setDeleteProcessedMail
(Boolean value) setMailFolderName
(String value) setPreferHTML
(Boolean value) setProtocol
(String value) setStartTLS
(Boolean value) setUsernamePassword
(org.openremote.model.auth.UsernamePassword value) Methods inherited from class org.openremote.model.asset.agent.Agent
getAgentLink, getAgentStatus, getBindHost, getBindPort, getHost, getOAuthGrant, getPollingMillis, getPort, getProtocolInstance, getSerialBaudrate, getSerialPort, getUsernamePassword, isConfigurationAttribute, isDisabled, isUpdateOnWrite, setBindHost, setBindPort, setDisabled, setOAuthGrant, setSerialBaudrate, setSerialPort, setUpdateOnWrite
Methods inherited from class org.openremote.model.asset.Asset
addAttributes, addOrReplaceAttributes, getAssetClass, getAssetName, getAssetType, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, postLoadCallback, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAll
-
Field Details
-
PROTOCOL
@NotNull public static final @NotNull org.openremote.model.value.AttributeDescriptor<String> PROTOCOL -
USERNAME_AND_PASSWORD
@NotNull public static final @NotNull org.openremote.model.value.AttributeDescriptor<org.openremote.model.auth.UsernamePassword> USERNAME_AND_PASSWORD -
HOST
-
PORT
-
CHECK_INTERVAL_SECONDS
-
DELETE_PROCESSED_MAIL
-
PREFER_HTML
-
MAIL_FOLDER_NAME
-
START_TLS
-
-
Constructor Details
-
AbstractMailAgent
protected AbstractMailAgent() -
AbstractMailAgent
-
-
Method Details
-
getProtocol
-
setProtocol
-
getCheckIntervalSeconds
-
setCheckIntervalSeconds
-
getDeleteProcessedMail
-
setDeleteProcessedMail
-
getPreferHTML
-
setPreferHTML
-
getStartTLS
-
setStartTLS
-
getMailFolderName
-
setMailFolderName
-
setUsernamePassword
-
setHost
-
setPort
-