|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectResolver |
---|
Copyright |
Method Summary | |
---|---|
void |
addEnvironmentVariable(RemoteSystemEnvVar rsev)
Add environment variable entry, given a RemoteSystemEnvVar object |
void |
addEnvironmentVariable(String name,
String value)
Add environment variable entry, given a name and value |
void |
cancelShell(Shell shell,
Object commandObject)
Cancel a shell or running command. |
boolean |
canRunCommand()
Determine whether the command subsystem can run a command |
boolean |
canRunShell()
Determine whether the command subsystem can run a shell |
ICandidateCommand[] |
getCandidateCommands(Object context)
Provide a list of possible commands for the specified context. |
IRemoteCommandShell |
getDefaultShell(Shell shell)
Get the default running command shell for this command subsystem. |
RemoteSystemEnvVar |
getEnvironmentVariable(String name)
Given an environment variable name, find its RemoteSystemEnvVar object. |
RemoteSystemEnvVar[] |
getEnvironmentVariableList()
Get the initial environment variable list as a string of RemoteSystemEnvVar objects. |
String |
getEnvironmentVariableValue(String name)
Given an environment variable name, find its value. |
EList |
getEnvVars()
Private. |
String[] |
getExecutedCommands()
Provide list of executed commands on subsystem.This is only applicable if the subsystem factory reports true for supportsCommands(). |
String |
getInvalidEnvironmentVariableNameCharacters()
Get the invalid characters for an environment variable name. |
RemoteCmdSubSystemFactory |
getParentRemoteCmdSubSystemFactory()
Return parent subsystem factory, cast to a RemoteCmdSubSystemFactory |
IRemoteCommandShell[] |
getShells()
Get all command shells and transient commands that have been run or are running for this command subsystem. |
void |
removeEnvironmentVariable(RemoteSystemEnvVar rsev)
Remove environment variable entry given its RemoteSystemEnvVar object |
void |
removeEnvironmentVariable(String name)
Remove environment variable entry given only its environment variable name |
void |
removeShell(Shell shell,
Object commandObject)
Remove a shell. |
IRemoteCommandShell[] |
restoreShellState(Shell shell)
Restore all the command shells that were open before disconnecting during the previous session |
Object[] |
runCommand(String command,
Shell shell,
Object context)
Execute a remote command. |
IRemoteCommandShell |
runShell(Shell shell,
Object context)
Launch a new command shell. |
void |
sendCommandToShell(String input,
Shell shell,
Object commandObject)
Send a command as input to a running command shell. |
void |
setEnvironmentVariableList(String[] envVarNames,
String[] envVarValues)
Set the initial environment variable list entries, all in one shot, using a pair of String arrays: the first is the environment variable names, the second is the corresponding environment variable values. |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectResolver |
---|
getObjectWithAbsoluteName |
Field Detail |
public static final String copyright
Method Detail |
public RemoteCmdSubSystemFactory getParentRemoteCmdSubSystemFactory()
public Object[] runCommand(String command, Shell shell, Object context) throws Exception
command
- Command to be executed remotely.
Exception
RemoteCommandHelpers
public IRemoteCommandShell runShell(Shell shell, Object context) throws Exception
Exception
RemoteCommandHelpers
public void sendCommandToShell(String input, Shell shell, Object commandObject) throws Exception
Exception
RemoteCommandHelpers
public void cancelShell(Shell shell, Object commandObject) throws Exception
Exception
public void removeShell(Shell shell, Object commandObject) throws Exception
Exception
public IRemoteCommandShell getDefaultShell(Shell shell) throws Exception
shell
- a window used for notification
Exception
public IRemoteCommandShell[] getShells()
public IRemoteCommandShell[] restoreShellState(Shell shell)
shell
- a window used for notification
public boolean canRunShell()
public boolean canRunCommand()
public String[] getExecutedCommands()
public ICandidateCommand[] getCandidateCommands(Object context)
context
- the context for the possible commands
public RemoteSystemEnvVar[] getEnvironmentVariableList()
public void setEnvironmentVariableList(String[] envVarNames, String[] envVarValues)
public void addEnvironmentVariable(String name, String value)
public void addEnvironmentVariable(RemoteSystemEnvVar rsev)
public void removeEnvironmentVariable(RemoteSystemEnvVar rsev)
public void removeEnvironmentVariable(String name)
public RemoteSystemEnvVar getEnvironmentVariable(String name)
public String getEnvironmentVariableValue(String name)
public String getInvalidEnvironmentVariableNameCharacters()
public EList getEnvVars()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |