public interface ConfigLogic
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOW_PREFIX_CHANGE_PROP |
static String |
CONFIG_SAVED |
static String |
DEFAULT_SUBJECT_PREFIX |
static String |
DEFAULT_SUBJECT_PREFIX_PROP |
static String |
DISPLAY_EMPTY_GROUPS |
static String |
EMAIL_TEST_MODE_PROP |
static String |
UPLOAD_DIRECTORY_PROP |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowSubjectPrefixChange()
Allow the user to change the prefix that is prepended to the subject of emails.
|
ConfigEntry |
getConfig()
Get the current tool placement config
|
String |
getDefaultSubjectPrefix()
Returns the default subject prefix.
|
String |
getUploadDirectory()
Get the directory where uploads should be stored
|
boolean |
isEmailTestMode()
Check if the system is currently set up in a "test" mode, indicating that
e-mails should not be actually dispatched, but rather spit into a log or
external file for verification purposes.
|
String |
saveConfig(ConfigEntry ce)
Save the configuration to the tool placement config space
|
static final String DEFAULT_SUBJECT_PREFIX
static final String ALLOW_PREFIX_CHANGE_PROP
static final String DEFAULT_SUBJECT_PREFIX_PROP
static final String UPLOAD_DIRECTORY_PROP
static final String DISPLAY_EMPTY_GROUPS
static final String EMAIL_TEST_MODE_PROP
static final String CONFIG_SAVED
ConfigEntry getConfig()
String saveConfig(ConfigEntry ce)
ce - String getUploadDirectory()
boolean allowSubjectPrefixChange()
String getDefaultSubjectPrefix()
DEFAULT_SUBJECT_PREFIX but can
be set by the system property "mailsender.subjectprefix".boolean isEmailTestMode()
Copyright © 2007–2017 Sakai Project. All rights reserved.