org.eclipse.rse.subsystems.shells.core.model
Class SimpleCommandOperation
java.lang.Object
org.eclipse.rse.subsystems.shells.core.model.SimpleCommandOperation
- public class SimpleCommandOperation
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCommandOperation
public SimpleCommandOperation(IRemoteCmdSubSystem subsystem,
IRemoteFile workingDirectory)
runCommand
public void runCommand(String command)
throws Exception
- Throws:
Exception
getCommandShell
public IRemoteCommandShell getCommandShell()
putInput
public void putInput(String input)
throws Exception
- Throws:
Exception
isActive
public boolean isActive()
hasMoreOutput
protected boolean hasMoreOutput()
cancelCommand
public void cancelCommand()
throws Exception
- Throws:
Exception
readLine
public String readLine(boolean waitForOutput)
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.