Package org.qdl_lang.extensions.mail
Class QDLMail
- java.lang.Object
-
- org.qdl_lang.extensions.mail.QDLMail
-
- All Implemented Interfaces:
Serializable
,QDLMetaModule
public class QDLMail extends Object implements QDLMetaModule
Created by Jeff Gaynor
on 11/2/23 at 11:17 AM- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
QDLMail.Send
class
QDLMail.SetCfg
-
Field Summary
Fields Modifier and Type Field Description static String
CFG_METHOD_NAME
static String
MAIL_BCC
static String
MAIL_CC
static String
MAIL_CONTENT_TYPE
static String
MAIL_DEBUG
static String
MAIL_FROM
static String
MAIL_PASSWORD
static String
MAIL_PORT
static String
MAIL_REPLY_TO
static String
MAIL_SERVER
static String
MAIL_START_TLS
static String
MAIL_TO
static String
MAIL_USE_SSL
static String
MAIL_USERNAME
static String
SEND_NAME
-
Constructor Summary
Constructors Constructor Description QDLMail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static QDLStem
addAll(List<String> x)
static QDLStem
convertMEToStem(edu.uiuc.ncsa.security.util.mail.MailEnvironment me)
Convert aMailEnvironment
to a stem.void
deserializeFromJSON(net.sf.json.JSONObject json)
QDLStem
getCfg()
boolean
hasCfg()
net.sf.json.JSONObject
serializeToJSON()
Send back a serialization of internal state for this object.void
setCfg(QDLStem cfg)
-
-
-
Field Detail
-
SEND_NAME
public static String SEND_NAME
-
CFG_METHOD_NAME
public static String CFG_METHOD_NAME
-
MAIL_BCC
public static String MAIL_BCC
-
MAIL_CC
public static String MAIL_CC
-
MAIL_CONTENT_TYPE
public static String MAIL_CONTENT_TYPE
-
MAIL_FROM
public static String MAIL_FROM
-
MAIL_PASSWORD
public static String MAIL_PASSWORD
-
MAIL_PORT
public static String MAIL_PORT
-
MAIL_SERVER
public static String MAIL_SERVER
-
MAIL_START_TLS
public static String MAIL_START_TLS
-
MAIL_TO
public static String MAIL_TO
-
MAIL_DEBUG
public static String MAIL_DEBUG
-
MAIL_USE_SSL
public static String MAIL_USE_SSL
-
MAIL_USERNAME
public static String MAIL_USERNAME
-
MAIL_REPLY_TO
public static String MAIL_REPLY_TO
-
-
Method Detail
-
getCfg
public QDLStem getCfg()
-
setCfg
public void setCfg(QDLStem cfg)
-
hasCfg
public boolean hasCfg()
-
convertMEToStem
public static QDLStem convertMEToStem(edu.uiuc.ncsa.security.util.mail.MailEnvironment me)
Convert aMailEnvironment
to a stem. This is not for the current configuration, but is a general utility that should go in this class.- Parameters:
me
-- Returns:
-
serializeToJSON
public net.sf.json.JSONObject serializeToJSON()
Description copied from interface:QDLMetaModule
Send back a serialization of internal state for this object. This allows for the state you choose to be serialized and then reloaded.NOTE
There is no canonical form for this. Set it how you will and deserialize it accordingly.- Specified by:
serializeToJSON
in interfaceQDLMetaModule
- Returns:
-
deserializeFromJSON
public void deserializeFromJSON(net.sf.json.JSONObject json)
- Specified by:
deserializeFromJSON
in interfaceQDLMetaModule
-
-