public void run() { if (_currentLog == null) return; if (!isLogCopyEnabled()) return; initializeTargetDirectory(); JwList<String> sourceFilenames = getSourceLogFilenames(); if (sourceFilenames.isEmpty()) return; sourceFilenames.remove(_currentLog.getFilename()); JwList<String> targetFilenames = getTargetLogFilenames(); JwList<String> missingFilenames = getMissingFilenames(sourceFilenames, targetFilenames); copyMissingSourceLogsToTargetLogs(missingFilenames); }
private String getSourceLogPath() { return _currentLog.getPath(); }