Package org.apache.maven.surefire.booter
Class CommandReader
- java.lang.Object
-
- org.apache.maven.surefire.booter.CommandReader
-
- All Implemented Interfaces:
org.apache.maven.surefire.api.provider.CommandChainReader
public final class CommandReader extends java.lang.Object implements org.apache.maven.surefire.api.provider.CommandChainReader
Reader of commands coming from plugin(master) process.- Since:
- 2.19
- Author:
- Tibor Digana (tibor17)
-
-
Constructor Summary
Constructors Constructor Description CommandReader(org.apache.maven.surefire.api.booter.MasterProcessChannelDecoder decoder, org.apache.maven.surefire.api.booter.Shutdown shutdown, org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addByeAckListener(org.apache.maven.surefire.api.provider.CommandListener listener)
void
addNoopListener(org.apache.maven.surefire.api.provider.CommandListener listener)
void
addShutdownListener(org.apache.maven.surefire.api.provider.CommandListener listener)
void
addSkipNextTestsListener(org.apache.maven.surefire.api.provider.CommandListener listener)
boolean
awaitStarted()
void
stop()
-
-
-
Method Detail
-
awaitStarted
public boolean awaitStarted() throws org.apache.maven.surefire.api.testset.TestSetFailedException
- Specified by:
awaitStarted
in interfaceorg.apache.maven.surefire.api.provider.CommandChainReader
- Throws:
org.apache.maven.surefire.api.testset.TestSetFailedException
-
addSkipNextTestsListener
public void addSkipNextTestsListener(org.apache.maven.surefire.api.provider.CommandListener listener)
- Specified by:
addSkipNextTestsListener
in interfaceorg.apache.maven.surefire.api.provider.CommandChainReader
-
addShutdownListener
public void addShutdownListener(org.apache.maven.surefire.api.provider.CommandListener listener)
- Specified by:
addShutdownListener
in interfaceorg.apache.maven.surefire.api.provider.CommandChainReader
-
addNoopListener
public void addNoopListener(org.apache.maven.surefire.api.provider.CommandListener listener)
-
addByeAckListener
public void addByeAckListener(org.apache.maven.surefire.api.provider.CommandListener listener)
-
stop
public void stop()
-
-