public abstract class DefaultCommandReader extends AbstractCommandReader
input-stream
.Command
Constructor and Description |
---|
DefaultCommandReader() |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeNextCommand()
Possibly waiting for next command (see
nextCommand() ) unless the stream is atomically
closed (see CommandReader.isClosed() returns true ) before this method has returned. |
protected boolean |
canContinue()
Opposite to
CommandReader.isClosed() . |
protected abstract org.apache.maven.surefire.api.booter.Command |
nextCommand() |
org.apache.maven.surefire.api.booter.Command |
readNextCommand()
Used by single thread in StreamFeeder class.
|
setFlushReceiverProvider, tryFlush
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, isClosed
acknowledgeByeEventReceived, noop, provideNewTest, shutdown, skipSinceNextTest
protected boolean canContinue()
CommandReader.isClosed()
.true
if not closedprotected void beforeNextCommand() throws IOException
nextCommand()
) unless the stream is atomically
closed (see CommandReader.isClosed()
returns true
) before this method has returned.IOException
- stream error while waiting for notification regarding next test required by forked jvmprotected abstract org.apache.maven.surefire.api.booter.Command nextCommand()
public org.apache.maven.surefire.api.booter.Command readNextCommand() throws IOException
IOException
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.