Package io.cucumber.teamcityformatter
Class MessagesToTeamCityWriter
java.lang.Object
io.cucumber.teamcityformatter.MessagesToTeamCityWriter
- All Implemented Interfaces:
AutoCloseable
Writes Cucumber Messages
as TeamCity - Service Messages.
-
Method Details
-
builder
-
write
Writes a cucumber message.- Parameters:
envelope- the message- Throws:
IOException- if an IO error occurs
-
close
Closes the stream, flushing it first. Once closed further write() invocations will cause an IOException to be thrown. Closing a closed stream has no effect.- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-