RSE
Release 1.0

org.eclipse.rse.subsystems.shells.core.model
Class SimpleCommandOperation

java.lang.Object
  extended byorg.eclipse.rse.subsystems.shells.core.model.SimpleCommandOperation

public class SimpleCommandOperation
extends Object


Constructor Summary
SimpleCommandOperation(IRemoteCmdSubSystem subsystem, IRemoteFile workingDirectory)
           
 
Method Summary
 void cancelCommand()
           
 IRemoteCommandShell getCommandShell()
           
protected  boolean hasMoreOutput()
           
 boolean isActive()
           
 void putInput(String input)
           
 String readLine(boolean waitForOutput)
           
 void runCommand(String command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCommandOperation

public SimpleCommandOperation(IRemoteCmdSubSystem subsystem,
                              IRemoteFile workingDirectory)
Method Detail

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)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.