Package org.jbehave.core.reporters
Class Format
java.lang.Object
org.jbehave.core.reporters.Format
- Direct Known Subclasses:
ContextOutput
,StoryReporterBuilder.ProvidedFormat
A Format is a
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.-
Field Summary
Modifier and TypeFieldDescriptionstatic final Format
static final Format
static final Format
static final Format
static final Format
static final Format
static final Format
static final Format
STATS is needed by the final reports.html summary page.static final Format
static final Format
static final Format
static final Format
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract StoryReporter
createStoryReporter
(FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) name()
static void
println
(PrintStream writer, String format, Object... args) toString()
-
Field Details
-
CONSOLE
-
ANSI_CONSOLE
-
IDE_CONSOLE
-
TEAMCITY_CONSOLE
-
TXT
-
HTML
-
XML
-
JSON
-
HTML_TEMPLATE
-
XML_TEMPLATE
-
JSON_TEMPLATE
-
STATS
STATS is needed by the final reports.html summary page.
-
-
Constructor Details
-
Format
-
-
Method Details
-
name
-
createStoryReporter
public abstract StoryReporter createStoryReporter(FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) -
println
-
toString
-