Beispiel #1
0
 @Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   factory.useConfiguration(storyReporterBuilder.fileConfiguration("html"));
   return new HtmlTemplateOuput(
       factory.getOutputFile(), storyReporterBuilder.keywords(), new FreemarkerProcessor());
 }
 @Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   factory.useConfiguration(storyReporterBuilder.fileConfiguration("xml"));
   return new XmlOutput(factory.createPrintStream(), storyReporterBuilder.keywords())
       .doReportFailureTrace(storyReporterBuilder.reportFailureTrace())
       .doCompressFailureTrace(storyReporterBuilder.compressFailureTrace());
 }
 @Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   factory.useConfiguration(storyReporterBuilder.fileConfiguration("stats"));
   return new PostStoryStatisticsCollector(factory.createPrintStream());
 }