org.eclipse.rse.dstore.universal.miners.command
Class CommandMinerThread
java.lang.Object
java.lang.Thread
org.eclipse.dstore.core.miners.miner.MinerThread
org.eclipse.rse.dstore.universal.miners.command.CommandMinerThread
- All Implemented Interfaces:
- Runnable
- public class CommandMinerThread
- extends org.eclipse.dstore.core.miners.miner.MinerThread
CommandMinerThread is used for running and handling io for shell commands
in a thread.
| Fields inherited from class org.eclipse.dstore.core.miners.miner.MinerThread |
_isCancelled |
| Methods inherited from class org.eclipse.dstore.core.miners.miner.MinerThread |
run, stopThread |
| 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 |
CommandMinerThread
public CommandMinerThread(org.eclipse.dstore.core.model.DataElement theElement,
String invocation,
org.eclipse.dstore.core.model.DataElement status,
Patterns thePatterns,
CommandMiner.CommandMinerDescriptors descriptors)
getProcess
public Process getProcess()
getCWD
public String getCWD()
queryCWD
public void queryCWD()
sendBreak
public void sendBreak()
sendInput
public void sendInput(String input)
doThreadedWork
public boolean doThreadedWork()
initializeThread
public void initializeThread()
sendExit
public void sendExit()
cleanupThread
public void cleanupThread()
interpretLine
public void interpretLine(String line,
boolean stdError)
createPrompt
public void createPrompt(String line,
String fileName)
removeWhitespace
public String removeWhitespace(String theLine)
createObject
public org.eclipse.dstore.core.model.DataElement createObject(String type,
String text)
- private void createObject (String,String)
Create a simple object with no source information
createObject
public org.eclipse.dstore.core.model.DataElement createObject(org.eclipse.dstore.core.model.DataElement type,
String text)
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.