|
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.remoteexternaltools.RemoteExternalToolsUtil
Constructor Summary | |
---|---|
RemoteExternalToolsUtil()
|
Method Summary | |
---|---|
protected static void |
abort(String message,
Throwable exception,
int code)
Throws a core exception with an error status object built from the given message, lower level exception, and error code. |
static IFile |
getExport(ILaunchConfiguration configuration)
|
static String |
getLocation(ILaunchConfiguration configuration)
Expands and returns the location attribute of the given launch configuration. |
static IProject |
getProject(ILaunchConfiguration configuration)
|
static RemoteCmdSubSystem |
getRemoteCmdSubSystem(ILaunchConfiguration configuration)
Expands and returns the RemoteCmdSubSystem of the given launch configuration. |
static IRemoteFile |
getWorkingDirectory(ILaunchConfiguration configuration)
Expands and returns the working directory attribute of the given launch configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteExternalToolsUtil()
Method Detail |
public static String getLocation(ILaunchConfiguration configuration) throws CoreException
configuration
- launch configuration
CoreException
- if unable to retrieve the associated launch
configuration attribute, if unable to resolve any variables, or if the
resolved location does not point to an existing file in the local file
systemprotected static void abort(String message, Throwable exception, int code) throws CoreException
message
- the status messageexception
- lower level exception associated with the
error, or null
if nonecode
- error code
CoreException
public static IRemoteFile getWorkingDirectory(ILaunchConfiguration configuration) throws CoreException
null
if a working directory is not
specified. If specified, the working is verified to point to an existing
directory in the remote file system.
configuration
- launch configuration
null
if unspecified
CoreException
- if unable to retrieve the associated launch
configuration attribute, if unable to resolve any variables, or if the
resolved location does not point to an existing directory in the remote
file systempublic static RemoteCmdSubSystem getRemoteCmdSubSystem(ILaunchConfiguration configuration) throws CoreException
configuration
- launch configuration
CoreException
- if unable to retrieve the associated launch
configuration attribute, if unable to resolve any variables, or if the
resolved location does not point to an existing connectionpublic static IProject getProject(ILaunchConfiguration configuration) throws CoreException
CoreException
public static IFile getExport(ILaunchConfiguration configuration) throws CoreException
CoreException
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |