Package io.cucumber.usageformatter
Class MessagesToUsageWriter
java.lang.Object
io.cucumber.usageformatter.MessagesToUsageWriter
- All Implemented Interfaces:
AutoCloseable
Writes usage statistics for step definitions.
Note: Messages are first collected and only written once the stream is closed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder(MessagesToUsageWriter.Serializer serializer) voidclose()voidwrite(io.cucumber.messages.types.Envelope envelope)
-
Method Details
-
write
- Throws:
IOException
-
builder
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-