Package de.saar.convenientprocess
Class ReadyProcess
java.lang.Object
java.lang.Thread
de.saar.convenientprocess.ConvenientProcess
de.saar.convenientprocess.ReadyProcess
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class de.saar.convenientprocess.ConvenientProcess
bErr, bOut, processFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionReadyProcess(String command) ReadyProcess(String[] cmdarray, String dir) ReadyProcess(String command, String dir) -
Method Summary
Methods inherited from class de.saar.convenientprocess.ConvenientProcess
cleanupStreams, closeWritingPipe, destroy, exitValue, println, readLineStderr, readLineStdout, readyStderr, readyStdout, setDebug, setInputLog, setOutputLog, startupThreads, stdin, waitForAndCleanupMethods 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
-
Field Details
-
STATE_UNINITIALIZED
public static final int STATE_UNINITIALIZED- See Also:
-
STATE_INITIALIZING
public static final int STATE_INITIALIZING- See Also:
-
STATE_READY
public static final int STATE_READY- See Also:
-
STATE_FINISHED
public static final int STATE_FINISHED- See Also:
-
-
Constructor Details
-
ReadyProcess
-
ReadyProcess
-
ReadyProcess
-
-
Method Details
-
run
public void run()- Specified by:
runin interfaceRunnable- Overrides:
runin classConvenientProcess
-
getProcessState
public int getProcessState() -
getStateText
-
waitForState
public void waitForState(int targetState)
-