Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_STRING |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
EmailSender(EmailVerifierConfig config,
String emailAddr,
String secretKey) |
EmailSender(EmailVerifierConfig config,
String emailAddr,
String secretKey,
String tenantDomain) |
EmailSender(EmailVerifierConfig config,
String emailAddr,
String secretKey,
String tenantDomain,
Map<String,String> userParameters) |
| Modifier and Type | Method and Description |
|---|---|
static String |
replacePlaceHolders(String text,
Map<String,String> userParameters)
Replace the {user-parameters} in the config file with the respective values
|
void |
run() |
void |
sendEmail() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final String CONF_STRING
public EmailSender(EmailVerifierConfig config, String emailAddr, String secretKey)
public EmailSender(EmailVerifierConfig config, String emailAddr, String secretKey, String tenantDomain)
public void sendEmail()
public static String replacePlaceHolders(String text, Map<String,String> userParameters)
text - the initial textuserParameters - mapping of the key and its valueCopyright © 2019 WSO2. All rights reserved.