Package org.apache.maven.surefire.booter
Class CommandReader
java.lang.Object
org.apache.maven.surefire.booter.CommandReader
Reader of commands coming from plugin(master) process.
- Since:
- 2.19
- Author:
- Tibor Digana (tibor17)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addByeAckListener
(CommandListener listener) void
addListener
(CommandListener listener) void
addNoopListener
(CommandListener listener) void
addShutdownListener
(CommandListener listener) void
addSkipNextTestsListener
(CommandListener listener) void
addTestListener
(CommandListener listener) void
addTestsFinishedListener
(CommandListener listener) boolean
static CommandReader
void
removeListener
(CommandListener listener) setLogger
(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger) setShutdown
(Shutdown shutdown) void
stop()
-
Method Details
-
getReader
-
setShutdown
-
setLogger
-
awaitStarted
- Throws:
TestSetFailedException
-
addListener
- Parameters:
listener
- listener called with Anycommand type
-
addTestListener
-
addTestsFinishedListener
-
addSkipNextTestsListener
-
addShutdownListener
-
addNoopListener
-
addByeAckListener
-
removeListener
-
stop
public void stop()
-