Class BatchIntegrationScheduledTaskAddin
- Namespace
- Dynamicweb.DataIntegration
- Assembly
- Dynamicweb.DataIntegration.dll
public abstract class BatchIntegrationScheduledTaskAddin : BaseScheduledTaskAddIn, IERPIntegration
- Inheritance
-
BatchIntegrationScheduledTaskAddin
- Implements
- Inherited Members
Fields
JobLogFilePathMsgPrefix
public static readonly string JobLogFilePathMsgPrefix
Field Value
Properties
LogRequestAndResponse
[AddInParameter("Log all requests and responses")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool LogRequestAndResponse { get; set; }
Property Value
Logger
protected ILogger? Logger { get; set; }
Property Value
NotificationEmail
[AddInParameter("Notification recipient e-mail")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string? NotificationEmail { get; set; }
Property Value
NotificationEmailFailureOnly
[AddInParameter("On failure only")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool NotificationEmailFailureOnly { get; set; }
Property Value
NotificationEmailSenderEmail
[AddInParameter("Notification sender e-mail")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string? NotificationEmailSenderEmail { get; set; }
Property Value
NotificationEmailSenderName
[AddInParameter("Notification e-mail sender name")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string? NotificationEmailSenderName { get; set; }
Property Value
NotificationEmailSubject
[AddInParameter("Notification e-mail subject")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string? NotificationEmailSubject { get; set; }
Property Value
NotificationTemplate
[AddInParameter("Notification e-mail template")]
[AddInParameterEditor(typeof(TemplateParameterEditor), "folder=Templates/DataIntegration/Notifications;FullPath=true;inputClass=NewUIinput;")]
public string? NotificationTemplate { get; set; }
Property Value
Methods
AddFileContentToLog(List<string>)
protected void AddFileContentToLog(List<string> logFilesList)
Parameters
AddFileContentToLog(string)
protected void AddFileContentToLog(string fileFullPath)
Parameters
fileFullPathstring
CheckAccessToDataIntegrationModule()
protected void CheckAccessToDataIntegrationModule()
ExpandValue(string)
protected string ExpandValue(string expression)
Parameters
expressionstring
Returns
GetActivitiesList()
Gets the list of activities activities from the relevant folder
public static List<string> GetActivitiesList()
Returns
SendMail(string)
Send mail according to configuration
public void SendMail(string message)
Parameters
messagestringerror/success message
SendMail(string, MessageType)
Send mail according to configuration
public void SendMail(string message, MessageType msgtype)
Parameters
messagestringerror/success message
msgtypeMessageTypemessage type
SendMail(string, MessageType, Dictionary<string, string>?)
Send mail according to configuration
public void SendMail(string message, MessageType messageType, Dictionary<string, string>? tagValues)
Parameters
messagestringerror/success message
messageTypeMessageTypemessage type
tagValuesDictionary<string, string>Dictionary with tag name as a key and its value
SetupLogging()
protected void SetupLogging()
ValidateLicense(string)
public static void ValidateLicense(string responseText)
Parameters
responseTextstring
WriteTaskResultToLog(bool)
protected void WriteTaskResultToLog(bool result)
Parameters
resultbool