Remote Systems
v6.4.1

com.ibm.etools.systems.launch
Interface IRemoteCommandLauncher

All Known Implementing Classes:
RemoteCommandLauncherImpl

public interface IRemoteCommandLauncher


Method Summary
 void addListener(IRemoteCommandLauncherStateListener listener)
           
 void destory(boolean destoryAssociatedProcess)
           
 int exitValue()
           
 RemoteProcess getProcess()
          Get RemoteProcess
 boolean isCommandCompleted()
           
 void removeListener(IRemoteCommandLauncherStateListener listener)
           
 int runCommand()
          Run command
 void setCommandString(String cmdString)
           
 void setEnvironmentVariableList(String[] environmentNames, String[] environmentValues)
           
 void setWorkingPath(String workingPath)
           
 

Method Detail

runCommand

public int runCommand()
Run command


getProcess

public RemoteProcess getProcess()
Get RemoteProcess


exitValue

public int exitValue()
              throws IllegalThreadStateException
Returns:
Throws:
IllegalThreadStateException

isCommandCompleted

public boolean isCommandCompleted()

destory

public void destory(boolean destoryAssociatedProcess)

setCommandString

public void setCommandString(String cmdString)
Parameters:
cmdString -

setWorkingPath

public void setWorkingPath(String workingPath)
Parameters:
workingPath -

addListener

public void addListener(IRemoteCommandLauncherStateListener listener)
Parameters:
listener -

removeListener

public void removeListener(IRemoteCommandLauncherStateListener listener)
Parameters:
listener -

setEnvironmentVariableList

public void setEnvironmentVariableList(String[] environmentNames,
                                       String[] environmentValues)
Parameters:
environmentNames -
environmentValues -

Remote Systems
v6.4.1

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.