Package liquibase.change.core
Class ExecuteShellCommandChange.StreamGobbler
java.lang.Object
java.lang.Thread
liquibase.change.core.ExecuteShellCommandChange.StreamGobbler
- All Implemented Interfaces:
Runnable
- Enclosing class:
- ExecuteShellCommandChange
-
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
ConstructorDescriptionStreamGobbler
(InputStream processStream, OutputStream outputStream, Thread parentThread) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(InputStream inputStream, OutputStream outputStream) void
finish()
void
run()
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
-
Constructor Details
-
StreamGobbler
-
-
Method Details
-
run
public void run() -
finish
public void finish() -
copy
- Throws:
IOException
-