Class StreamFeeder
java.lang.Object
java.lang.Thread
org.apache.maven.surefire.extensions.CloseableDaemonThread
org.apache.maven.plugin.surefire.extensions.StreamFeeder
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Runnable
,Stoppable
Commands which are sent from plugin to the forked jvm.
magic number : opcode [: opcode specific data]*
or data encoded with Base64
magic number : opcode [: Base64(opcode specific data)]*
magic number : opcode [: opcode specific data]*
or data encoded with Base64
magic number : opcode [: Base64(opcode specific data)]*
- Since:
- 3.0.0-M5
- Author:
- Tibor Digana (tibor17)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionStreamFeeder
(String threadName, WritableByteChannel channel, CommandReader commandReader, org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger) -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
StreamFeeder
public StreamFeeder(@Nonnull String threadName, @Nonnull WritableByteChannel channel, @Nonnull CommandReader commandReader, @Nonnull org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger)
-
-
Method Details
-
run
public void run() -
disable
public void disable() -
getException
-
close
- Throws:
IOException
-