public abstract class Format extends Object
StoryReporter
factory, allowing named-based pre-defined
story reporters to be configured via the
StoryReporterBuilder.withFormats(Format...)
method. Users wanting to
configure their custom defined story reporters, can do so via the
StoryReporterBuilder.withReporters(StoryReporter...)
method, or use
the StoryReporterBuilder.ProvidedFormat
wrapper.Modifier and Type | Field and Description |
---|---|
static Format |
ANSI_CONSOLE |
static Format |
CONSOLE |
static Format |
HTML |
static Format |
HTML_TEMPLATE |
static Format |
IDE_CONSOLE |
static Format |
STATS
STATS is not just about output formats, it is needed by the final
reports.html summary page.
|
static Format |
TXT |
static Format |
XML |
static Format |
XML_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
abstract StoryReporter |
createStoryReporter(FilePrintStreamFactory factory,
StoryReporterBuilder storyReporterBuilder) |
String |
name() |
static void |
println(PrintStream writer,
Object what) |
String |
toString() |
public static final Format CONSOLE
public static final Format ANSI_CONSOLE
public static final Format IDE_CONSOLE
public static final Format TXT
public static final Format HTML
public static final Format HTML_TEMPLATE
public static final Format XML
public static final Format XML_TEMPLATE
public static final Format STATS
public Format(String name)
public String name()
public abstract StoryReporter createStoryReporter(FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder)
public static void println(PrintStream writer, Object what)
Copyright © 2003–2016. All rights reserved.