|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| Method Summary | |
|---|---|
void |
addEnvironmentVariable(IRemoteSystemEnvVar 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(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()
Get the default running command shell for this command subsystem. |
IRemoteSystemEnvVar |
getEnvironmentVariable(String name)
Given an environment variable name, find its RemoteSystemEnvVar object. |
IRemoteSystemEnvVar[] |
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. |
List |
getEnvVars()
Private. |
String[] |
getExecutedCommands()
Provide list of executed commands on subsystem.This is only applicable if the subsystem factory reports true for supportsCommands(). |
List |
getHostEnvironmentVariables()
|
String |
getInvalidEnvironmentVariableNameCharacters()
Get the invalid characters for an environment variable name. |
IRemoteCmdSubSystemConfiguration |
getParentRemoteCmdSubSystemConfiguration()
Return parent subsystem factory, cast to a RemoteCmdSubSystemConfiguration |
String |
getShellEncoding()
Returns the shell encoding to assume when reading IO from a remote shell |
IRemoteCommandShell[] |
getShells()
Get all command shells and transient commands that have been run or are running for this command subsystem. |
void |
removeEnvironmentVariable(IRemoteSystemEnvVar 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(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,
Object context)
Execute a remote command. |
Object[] |
runCommand(String command,
Object context,
boolean interpretOutput)
Execute a remote command. |
IRemoteCommandShell |
runShell(Object context)
Launch a new command shell. |
void |
sendCommandToShell(String input,
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 org.eclipse.rse.core.subsystems.IRemoteObjectResolver |
|---|
getObjectWithAbsoluteName |
| Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule |
|---|
contains, isConflicting |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getDescription |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer |
|---|
commit, isDirty, setDirty, setWasRestored, wasRestored |
| Method Detail |
public IRemoteCmdSubSystemConfiguration getParentRemoteCmdSubSystemConfiguration()
public Object[] runCommand(String command,
Object context)
throws Exception
command - Command to be executed remotely.
Exceptionorg.eclipse.rse.core.subsystems.shells.ui.RemoteCommandHelpers
public Object[] runCommand(String command,
Object context,
boolean interpretOutput)
throws Exception
command - Command to be executed remotely.interpretOutput - whether to interpret the output or not
Exceptionorg.eclipse.rse.core.subsystems.shells.ui.RemoteCommandHelpers
public IRemoteCommandShell runShell(Object context)
throws Exception
Exceptionorg.eclipse.rse.core.subsystems.shells.ui.RemoteCommandHelpers
public void sendCommandToShell(String input,
Object commandObject)
throws Exception
Exceptionorg.eclipse.rse.core.subsystems.shells.ui.RemoteCommandHelpers
public void cancelShell(Object commandObject)
throws Exception
Exception
public void removeShell(Object commandObject)
throws Exception
Exception
public IRemoteCommandShell getDefaultShell()
throws Exception
Exceptionpublic IRemoteCommandShell[] getShells()
public IRemoteCommandShell[] restoreShellState(Shell shell)
shell - a window used for notification
public boolean canRunShell()
public boolean canRunCommand()
public String[] getExecutedCommands()
public String getShellEncoding()
public ICandidateCommand[] getCandidateCommands(Object context)
context - the context for the possible commands
public IRemoteSystemEnvVar[] getEnvironmentVariableList()
public void setEnvironmentVariableList(String[] envVarNames,
String[] envVarValues)
public void addEnvironmentVariable(String name,
String value)
public void addEnvironmentVariable(IRemoteSystemEnvVar rsev)
public void removeEnvironmentVariable(IRemoteSystemEnvVar rsev)
public void removeEnvironmentVariable(String name)
public IRemoteSystemEnvVar getEnvironmentVariable(String name)
public String getEnvironmentVariableValue(String name)
public String getInvalidEnvironmentVariableNameCharacters()
public List getEnvVars()
public List getHostEnvironmentVariables()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||