init();
parameters = spooler.create_variable_set();
if (spooler_task.params() != null)
parameters.merge(spooler_task.params());
if (spooler_job.order_queue() != null)
parameters.merge(spooler_task.order().params());
setConnection(SOSFTPHistory.getConnection(spooler, getConnection(), parameters, getLogger()));
recordCount = this.doImport(parameters);
getLogger().info(
"records: imported = " + recordCount + " ( found = " + _recordFoundCount + " skipped = " + _recordSkippedCount + " skipped [error] = "
+ _recordSkippedErrorCount + " )");