|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.launch.impl.RemoteCommandLauncherImpl
A class implements IRemoteCommandLauncher.
Constructor Summary | |
---|---|
RemoteCommandLauncherImpl(Shell shell,
SystemConnection connection,
String cmdString,
String workingPath)
Constructor. |
Method Summary | |
---|---|
void |
addListener(IRemoteCommandLauncherStateListener listener)
|
protected void |
cleanup(boolean destoryAssocatedProcess)
|
void |
destory(boolean destoryAssociatedProcess)
|
int |
exitValue()
|
protected void |
fireEvent(RemoteCommandLauncherStateEvent event)
|
RemoteProcess |
getProcess()
Get RemoteProcess |
Shell |
getShell()
|
void |
handleOutputEvent(RemoteOutputProxyEvent event)
|
boolean |
isCommandCompleted()
|
void |
removeListener(IRemoteCommandLauncherStateListener listener)
|
int |
runCommand()
Run command. |
void |
setCommandString(String cmdString)
|
void |
setEnvironmentVariableList(String[] environmentNames,
String[] environmentValues)
|
void |
setWorkingPath(String workingPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteCommandLauncherImpl(Shell shell, SystemConnection connection, String cmdString, String workingPath)
Method Detail |
public int runCommand()
runCommand
in interface IRemoteCommandLauncher
public int exitValue() throws IllegalThreadStateException
exitValue
in interface IRemoteCommandLauncher
IllegalThreadStateException
public boolean isCommandCompleted()
isCommandCompleted
in interface IRemoteCommandLauncher
public void destory(boolean destoryAssociatedProcess)
destory
in interface IRemoteCommandLauncher
public RemoteProcess getProcess()
IRemoteCommandLauncher
getProcess
in interface IRemoteCommandLauncher
protected void cleanup(boolean destoryAssocatedProcess)
public Shell getShell()
public void setCommandString(String cmdString)
setCommandString
in interface IRemoteCommandLauncher
cmdString
- public void setWorkingPath(String workingPath)
setWorkingPath
in interface IRemoteCommandLauncher
workingPath
- public void addListener(IRemoteCommandLauncherStateListener listener)
addListener
in interface IRemoteCommandLauncher
listener
- public void removeListener(IRemoteCommandLauncherStateListener listener)
removeListener
in interface IRemoteCommandLauncher
listener
- protected void fireEvent(RemoteCommandLauncherStateEvent event)
public void handleOutputEvent(RemoteOutputProxyEvent event)
handleOutputEvent
in interface IRemoteOutputProxyEventListener
public void setEnvironmentVariableList(String[] environmentNames, String[] environmentValues)
setEnvironmentVariableList
in interface IRemoteCommandLauncher
environmentNames
- environmentValues
-
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |