1 package com.trendmicro.grid.acl.ds.trivial;
2
3 import com.trendmicro.grid.acl.ds.ReportReceiver;
4 import com.trendmicro.grid.acl.l0.datatypes.FileReport;
5 import org.slf4j.Logger;
6 import org.slf4j.LoggerFactory;
7 import org.springframework.stereotype.Service;
8
9 import java.util.Collection;
10
11
12
13
14
15
16
17 @Service
18 public class TrivialReportReceiver implements ReportReceiver {
19
20 private static final Logger log = LoggerFactory.getLogger(TrivialReportReceiver.class);
21
22
23
24
25 public void receiveFileReports(Collection<FileReport> fileReports) {
26 for (FileReport fileReport : fileReports)
27 log.info("TMACL-00460: Received file usage report: {}", fileReport);
28 }
29 }