@Override public void setContext(GraphRewrite event) { this.sourceReportService = new SourceReportService(event.getGraphContext()); }
@Override public void setContext(GraphRewrite event) { this.sourceReportService = new SourceReportService(event.getGraphContext()); }
@Override public void setContext(GraphRewrite event) { this.sourceReportService = new SourceReportService(event.getGraphContext()); }
@Override public void setContext(GraphRewrite event) { this.sourceReportService = new SourceReportService(event.getGraphContext()); }
@Override public void setContext(GraphRewrite event) { this.context = event.getGraphContext(); this.sourceReportService = new SourceReportService(this.context); this.javaClassService = new JavaClassService(this.context); }
@Override public void setContext(GraphRewrite event) { this.context = event.getGraphContext(); this.sourceReportService = new SourceReportService(this.context); this.javaClassService = new JavaClassService(this.context); }
private static List<ReportLink> getReportLinks(GraphContext graphContext) { final List<ReportLink> reportLinks = new ArrayList<>(); SourceReportService sourceReportService = new SourceReportService(graphContext); ReportService reportService = new ReportService(graphContext); for (SourceReportModel sourceReportModel : sourceReportService.findAll()) { ReportLinkImpl reportLink = new ReportLinkImpl(); reportLink.setInputFile(sourceReportModel.getSourceFileModel().asFile()); Path reportPath = reportService.getReportDirectory().resolve(sourceReportModel.getReportFilename()); reportLink.setReportFile(reportPath.toFile()); reportLinks.add(reportLink); } return reportLinks; }
private static List<ReportLink> getReportLinks(GraphContext graphContext) { final List<ReportLink> reportLinks = new ArrayList<>(); SourceReportService sourceReportService = new SourceReportService(graphContext); ReportService reportService = new ReportService(graphContext); for (SourceReportModel sourceReportModel : sourceReportService.findAll()) { ReportLinkImpl reportLink = new ReportLinkImpl(); reportLink.setInputFile(sourceReportModel.getSourceFileModel().asFile()); Path reportPath = reportService.getReportDirectory().resolve(sourceReportModel.getReportFilename()); reportLink.setReportFile(reportPath.toFile()); reportLinks.add(reportLink); } return reportLinks; }
TechnologyTagService technologyTagService = new TechnologyTagService(event.getGraphContext()); SourceReportService sourceReportService = new SourceReportService(event.getGraphContext()); projectModelTraversal.getCanonicalProject().getFileModels().forEach(childFile -> {
private void createSourceReport(GraphRewrite event, ProjectModelTraversal traversal, ReportService reportService, FileModel sourceFile) SourceReportService sourceReportService = new SourceReportService( event.getGraphContext()); SourceReportModel sourceReportModel = sourceReportService.getSourceReportForFileModel(sourceFile);
private void createSourceReport(GraphRewrite event, ProjectModelTraversal traversal, ReportService reportService, FileModel sourceFile) SourceReportService sourceReportService = new SourceReportService( event.getGraphContext()); SourceReportModel sourceReportModel = sourceReportService.getSourceReportForFileModel(sourceFile);