Class DefaultCommandReader

    • Constructor Detail

      • DefaultCommandReader

        public DefaultCommandReader()
    • Method Detail

      • canContinue

        protected boolean canContinue()
        Opposite to CommandReader.isClosed().
        Returns:
        true if not closed
      • beforeNextCommand

        protected void beforeNextCommand()
                                  throws java.io.IOException
        Possibly waiting for next command (see nextCommand()) unless the stream is atomically closed (see CommandReader.isClosed() returns true) before this method has returned.
        Throws:
        java.io.IOException - stream error while waiting for notification regarding next test required by forked jvm
      • nextCommand

        protected abstract org.apache.maven.surefire.api.booter.Command nextCommand()
      • readNextCommand

        public org.apache.maven.surefire.api.booter.Command readNextCommand()
                                                                     throws java.io.IOException
        Used by single thread in StreamFeeder class.
        Returns:
        Throws:
        java.io.IOException