public class VisualizerService extends Object
createReports(Collection, CombinerContext, ReportingContext, EnricherContext) method.| Modifier and Type | Field and Description |
|---|---|
private static String |
IGNORE_FAILURES
Should an exception be thrown in case when the exception occurred?
Default is true.
|
private static VisualizerService |
instance
Singleton.
|
private static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
VisualizerService() |
| Modifier and Type | Method and Description |
|---|---|
private void |
createReport(Collection<Class<? extends ReportDocumentType>> reportDocumentTypes,
Report report,
CombinerContext combinerContext,
ReportingContext reportingContext,
EnricherContext enricherContext) |
void |
createReports(Collection<Class<? extends ReportDocumentType>> reportDocumentTypes,
CombinerContext combinerContext,
ReportingContext reportingContext,
EnricherContext enricherContext)
Read files(s), parse them and create reports.
|
static VisualizerService |
getInstance() |
private String |
getReportDirectoryPath(Report report) |
private int |
transformMultiLine(List<String> multiLine,
Collection<Class<? extends ReportDocumentType>> reportDocumentTypes,
Report report,
List<ReportDocument> reportDocuments,
LogBufferedReader currentReader,
int currentLineNumber,
TransformerService transformerService,
CombinerContext combinerContext,
EnricherContext enricherContext) |
private static final org.slf4j.Logger logger
private static final String IGNORE_FAILURES
private static final VisualizerService instance
public VisualizerService()
public static VisualizerService getInstance()
VisualizerService singleton.public void createReports(Collection<Class<? extends ReportDocumentType>> reportDocumentTypes, CombinerContext combinerContext, ReportingContext reportingContext, EnricherContext enricherContext)
reportDocumentTypes - defines which ReportDocumentTypes
can be transformed in a particular invocationcombinerContext - the current statereportingContext - the current stateenricherContext - the current stateprivate void createReport(Collection<Class<? extends ReportDocumentType>> reportDocumentTypes, Report report, CombinerContext combinerContext, ReportingContext reportingContext, EnricherContext enricherContext)
private int transformMultiLine(List<String> multiLine, Collection<Class<? extends ReportDocumentType>> reportDocumentTypes, Report report, List<ReportDocument> reportDocuments, LogBufferedReader currentReader, int currentLineNumber, TransformerService transformerService, CombinerContext combinerContext, EnricherContext enricherContext)
private String getReportDirectoryPath(Report report)
Copyright © 2023. All rights reserved.