Package io.cucumber.prettyformatter
Class Theme.Builder
- java.lang.Object
-
- io.cucumber.prettyformatter.Theme.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Themebuild()Theme.Builderstyle(Theme.Element element, io.cucumber.messages.types.TestStepResultStatus status, Ansi style, Ansi resetStyle)Adds a style and reset style for an element.Theme.Builderstyle(Theme.Element element, Ansi style, Ansi resetStyle)Adds a style and reset style for an element.
-
-
-
Method Detail
-
style
public Theme.Builder style(Theme.Element element, Ansi style, Ansi resetStyle)
Adds a style and reset style for an element.- Parameters:
element- the element to stylestyle- the ansi style to applyresetStyle- the ansi style to reset the applied styling
-
style
public Theme.Builder style(Theme.Element element, io.cucumber.messages.types.TestStepResultStatus status, Ansi style, Ansi resetStyle)
Adds a style and reset style for an element.- Parameters:
element- the element to stylestatus- the status of the element to stylestyle- the ansi style to applyresetStyle- the ansi style to reset the applied styling
-
build
public Theme build()
-
-