com.ibm.etools.systems.localfilesubsys.impl
Class LocalCommandThread
java.lang.Object
java.lang.Thread
com.ibm.etools.systems.localfilesubsys.impl.LocalCommandThread
- All Implemented Interfaces:
- Runnable
- public class LocalCommandThread
- extends Thread
The LocalCommandThread class is used for running and interacting with a
local command shell.
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
_isCancelled
protected boolean _isCancelled
LocalCommandThread
public LocalCommandThread(Shell shell,
RemoteFileSubSystem fileSubSystem,
String cwd,
String invocation,
Patterns patterns,
String[] envVars)
- consturtor for local command shell monitor
- Parameters:
shell
- window handlefileSubSystem
- associated local file subsystemcwd
- initial working directoryinvocation
- launch shell commandpatterns
- patterns file for output interpretationenvVars
- user and system environment variables to launch shell with
getCommandObject
public LocalCommandShellImpl getCommandObject()
isShell
public boolean isShell()
isWindows
public boolean isWindows()
isDone
public boolean isDone()
getInvocation
public String getInvocation()
getCWD
public String getCWD()
setCWD
public void setCWD(String cwd)
stopThread
public void stopThread()
sendInput
public void sendInput(String input)
run
public void run()
doThreadedWork
public boolean doThreadedWork()
cleanupThread
public void cleanupThread()
getPathEnvironmentVariable
public String getPathEnvironmentVariable()
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.