public EngineSetting getSettingEmailFileMirroringActivated() {
return getEngineSettingByCode(ENGINE_SETTING_EMAIL_FILE_MIRRORING_ACTIVATED);
}
public boolean getEmailFileMirroringActivated(String context) {
EngineSetting engineSetting = getSettingEmailFileMirroringActivated();
boolean emailFileMirroringActivated = false;
if (engineSetting != null) {
emailFileMirroringActivated = BooleanUtils.toBoolean(engineSetting.getDefaultValue());
EngineSettingValue engineSettingValue = engineSetting.getEngineSettingValue(context);
if (engineSettingValue != null) {
emailFileMirroringActivated = BooleanUtils.toBoolean(engineSettingValue.getValue());
}
}
return emailFileMirroringActivated;