public abstract class Format
extends java.lang.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 |
| Constructor and Description |
|---|
Format(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract StoryReporter |
createStoryReporter(FilePrintStreamFactory factory,
StoryReporterBuilder storyReporterBuilder) |
java.lang.String |
name() |
static void |
println(java.io.PrintStream writer,
java.lang.Object what) |
java.lang.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 java.lang.String name()
public abstract StoryReporter createStoryReporter(FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder)
public static void println(java.io.PrintStream writer,
java.lang.Object what)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2003-2014. All Rights Reserved.