com.ibm.etools.systems.launch.remoteexternaltools
Class RemoteProgramOperation
java.lang.Object
com.ibm.etools.systems.commands.RemoteCommandShellOperation
com.ibm.etools.systems.launch.remoteexternaltools.RemoteProgramOperation
- All Implemented Interfaces:
- EventListener, ISystemResourceChangeListener
- public class RemoteProgramOperation
- extends RemoteCommandShellOperation
Methods inherited from class com.ibm.etools.systems.commands.RemoteCommandShellOperation |
associateProject, commandMatches, finish, getRemoteCommandShell, getShell, handleShellFinished, isActive, outputUpdated, run, sendInput, setWorkingDirectory, systemResourceChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_config
protected ILaunchConfiguration _config
_launch
protected ILaunch _launch
_isBuild
protected boolean _isBuild
RemoteProgramOperation
public RemoteProgramOperation(Shell shell,
RemoteCmdSubSystem rcss,
IRemoteFile workdir,
ILaunchConfiguration config,
ILaunch launch,
boolean isBuild)
handleCommandFinished
public void handleCommandFinished(String cmd)
- Specified by:
handleCommandFinished
in class RemoteCommandShellOperation
handleOutputChanged
public void handleOutputChanged(String command,
Object output)
- Specified by:
handleOutputChanged
in class RemoteCommandShellOperation
sendCommand
public void sendCommand(String cmd)
- Description copied from class:
RemoteCommandShellOperation
- Send a command to the running command shell.
- Overrides:
sendCommand
in class RemoteCommandShellOperation
- Parameters:
cmd
- the command to run in the shell
getLabel
public String getLabel()
getCurrentCommand
public String getCurrentCommand()
- Overrides:
getCurrentCommand
in class RemoteCommandShellOperation
getLaunch
public ILaunch getLaunch()
getStreamsProxy
public IStreamsProxy getStreamsProxy()
setAttribute
public void setAttribute(String arg0,
String arg1)
getAttribute
public String getAttribute(String arg0)
getExitValue
public int getExitValue()
throws DebugException
- Throws:
DebugException
getAdapter
public Object getAdapter(Class arg0)
canTerminate
public boolean canTerminate()
isTerminated
public boolean isTerminated()
terminate
public void terminate()
throws DebugException
- Throws:
DebugException
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.