Package io.cucumber.prettyformatter
Class MessagesToProgressWriter.Builder
- java.lang.Object
-
- io.cucumber.prettyformatter.MessagesToProgressWriter.Builder
-
- Enclosing class:
- MessagesToProgressWriter
public static final class MessagesToProgressWriter.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagesToProgressWriterbuild(OutputStream out)MessagesToProgressWriter.BuildermaxWidth(int maxWidth)Sets the max width in characters of a progress line.MessagesToProgressWriter.Buildertheme(Theme theme)Adds a theme to the progress writer.
-
-
-
Method Detail
-
theme
public MessagesToProgressWriter.Builder theme(Theme theme)
Adds a theme to the progress writer.
-
maxWidth
public MessagesToProgressWriter.Builder maxWidth(int maxWidth)
Sets the max width in characters of a progress line.Defaults to 80
-
build
public MessagesToProgressWriter build(OutputStream out)
-
-