Package io.cucumber.core.plugin
Class ProgressFormatter
java.lang.Object
io.cucumber.core.plugin.ProgressFormatter
- All Implemented Interfaces:
io.cucumber.plugin.ColorAware,io.cucumber.plugin.ConcurrentEventListener,io.cucumber.plugin.Plugin
public final class ProgressFormatter
extends Object
implements io.cucumber.plugin.ConcurrentEventListener, io.cucumber.plugin.ColorAware
Renders a rudimentary progress bar.
Each character in the bar represents either a step or hook. The status of that step or hook is indicated by the character and its color.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) voidsetMonochrome(boolean monochrome) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.cucumber.plugin.ConcurrentEventListener
setEventPublisher
-
Constructor Details
-
ProgressFormatter
-
-
Method Details
-
setMonochrome
public void setMonochrome(boolean monochrome) - Specified by:
setMonochromein interfaceio.cucumber.plugin.ColorAware
-
setEventPublisher
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) - Specified by:
setEventPublisherin interfaceio.cucumber.plugin.ConcurrentEventListener
-