Package | Description |
---|---|
org.eclipse.ptp.ems.core | |
org.eclipse.ptp.ems.ui | |
org.eclipse.ptp.remote.core | |
org.eclipse.ptp.remote.core.exception |
Modifier and Type | Method and Description |
---|---|
boolean |
IEnvManager.checkForCompatibleInstallation(IProgressMonitor pm)
Returns true iff the remote machine is running an environment management system supported by this
IEnvManager . |
String |
IEnvManager.createBashScript(IProgressMonitor pm,
boolean echo,
IEnvManagerConfig config,
String commandToExecuteAfterward)
Creates a temporary file on the remote machine and writes a Bash shell script into that file which will configure the remote
environment with the given elements, execute the given command, and then delete the temporary file (shell script).
|
List<String> |
IEnvManager.determineAvailableElements(IProgressMonitor pm)
Returns the set of all environment configuration elements available on the remote machine (e.g., the result of
module -t avail).
|
List<String> |
IEnvManager.determineDefaultElements(IProgressMonitor pm)
Returns the set of all environment configuration elements loaded by default upon login (e.g., the result of
module -t list in a login shell).
|
String |
IEnvManager.getDescription(IProgressMonitor pm)
If the remote machine is running an environment management system supported by this
IEnvManager , returns a short
description of the environment management system (e.g., "Modules 3.2.7"); otherwise, returns null . |
Modifier and Type | Method and Description |
---|---|
boolean |
LazyEnvManagerDetector.checkForCompatibleInstallation(IProgressMonitor pm) |
String |
LazyEnvManagerDetector.createBashScript(IProgressMonitor pm,
boolean echo,
IEnvManagerConfig config,
String commandToExecuteAfterward) |
List<String> |
LazyEnvManagerDetector.determineAvailableElements(IProgressMonitor pm) |
List<String> |
LazyEnvManagerDetector.determineDefaultElements(IProgressMonitor pm) |
String |
LazyEnvManagerDetector.getDescription(IProgressMonitor pm) |
Modifier and Type | Method and Description |
---|---|
void |
IRemoteConnection.forwardLocalPort(int localPort,
String fwdAddress,
int fwdPort)
Forward local port localPort to remote port fwdPort on remote machine fwdAddress.
|
int |
IRemoteConnection.forwardLocalPort(String fwdAddress,
int fwdPort,
IProgressMonitor monitor)
Forward a local port to remote port fwdPort on remote machine fwdAddress.
|
void |
IRemoteConnection.forwardRemotePort(int remotePort,
String fwdAddress,
int fwdPort)
Forward remote port remotePort to port fwdPort on machine fwdAddress.
|
int |
IRemoteConnection.forwardRemotePort(String fwdAddress,
int fwdPort,
IProgressMonitor monitor)
Forward a remote port to port fwdPort on remote machine fwdAddress.
|
IRemoteConnection |
IRemoteConnectionManager.newConnection(String name)
Creates a new remote connection named with supplied name.
|
void |
IRemoteConnection.open(IProgressMonitor monitor)
Open the connection.
|
void |
IRemoteConnection.open(IUserAuthenticator authenticator,
IProgressMonitor monitor)
Open the connection.
|
void |
IRemoteConnectionManager.removeConnection(IRemoteConnection connection)
Remove a connection and all resources associated with it.
|
void |
IRemoteConnection.removeLocalPortForwarding(int port)
Remove the local port forwarding associated with the given port.
|
void |
IRemoteConnection.removeRemotePortForwarding(int port)
Remove the remote port forwarding associated with the given port.
|
Modifier and Type | Class and Description |
---|---|
class |
AddressInUseException
Exception thrown when a connection address is already in use.
|
class |
PrivilegedPortException
Exception thrown when an attempt is made to use a privileged port.
|
class |
UnableToForwardPortException
Exception thrown when a port is unable to be forwarded.
|
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.