Class AbstractStreamHandler
java.lang.Object
java.lang.Thread
org.apache.maven.shared.utils.cli.AbstractStreamHandler
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
StreamFeeder
,StreamPumper
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
done
private volatile boolean done -
disabled
private volatile boolean disabled
-
-
Constructor Details
-
AbstractStreamHandler
AbstractStreamHandler()
-
-
Method Details
-
isDone
boolean isDone() -
waitUntilDone
- Throws:
InterruptedException
-
isDisabled
boolean isDisabled() -
disable
public void disable() -
setDone
protected void setDone()
-