|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.services.ssh.shell.SshShellService
A Shell Services for ssh. Adapted from LocalShellService.
| Constructor Summary | |
|---|---|
SshShellService(ISshSessionProvider sessionProvider)
|
|
| Method Summary | |
|---|---|
String |
getDescription()
|
String[] |
getHostEnvironment()
Return an array of environment variables that describe the environment on the host. |
SystemMessage |
getMessage(String messageID)
|
String |
getName()
|
void |
initService(IProgressMonitor monitor)
|
IHostShell |
launchShell(IProgressMonitor monitor,
String initialWorkingDirectory,
String[] environment)
Launch a new shell in the specified directory |
IHostShell |
launchShell(IProgressMonitor monitor,
String initialWorkingDirectory,
String encoding,
String[] environment)
Launch a new shell in the specified directory |
IHostShell |
runCommand(IProgressMonitor monitor,
String initialWorkingDirectory,
String command,
String[] environment)
Run a command in it's own shell |
IHostShell |
runCommand(IProgressMonitor monitor,
String initialWorkingDirectory,
String command,
String encoding,
String[] environment)
Run a command in it's own shell |
void |
uninitService(IProgressMonitor monitor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SshShellService(ISshSessionProvider sessionProvider)
| Method Detail |
public IHostShell launchShell(IProgressMonitor monitor,
String initialWorkingDirectory,
String[] environment)
IShellService
launchShell in interface IShellServicemonitor - initialWorkingDirectory - environment - Array of environment variable Strings of the form "var=text"
public IHostShell launchShell(IProgressMonitor monitor,
String initialWorkingDirectory,
String encoding,
String[] environment)
IShellService
launchShell in interface IShellServicemonitor - initialWorkingDirectory - encoding - environment - Array of environment variable Strings of the form "var=text"
public IHostShell runCommand(IProgressMonitor monitor,
String initialWorkingDirectory,
String command,
String[] environment)
IShellService
runCommand in interface IShellServicemonitor - initialWorkingDirectory - command - environment - Array of environment variable Strings of the form "var=text"
public IHostShell runCommand(IProgressMonitor monitor,
String initialWorkingDirectory,
String command,
String encoding,
String[] environment)
IShellService
runCommand in interface IShellServicemonitor - initialWorkingDirectory - command - encoding - environment - Array of environment variable Strings of the form "var=text"
public String[] getHostEnvironment()
IShellService
getHostEnvironment in interface IShellServicepublic String getName()
getName in interface IServicepublic String getDescription()
getDescription in interface IServicepublic void initService(IProgressMonitor monitor)
initService in interface IServicepublic void uninitService(IProgressMonitor monitor)
uninitService in interface IServicepublic SystemMessage getMessage(String messageID)
getMessage in interface IService
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||