public interface IProcess extends IAdaptable, ITerminate
Clients may implement this interface, however, the debug plug-in
provides an implementation of this interface for a
java.lang.Process.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_CMDLINE
Attribute key for a common, optional, process property.
|
static String |
ATTR_PROCESS_LABEL
Attribute key for a common, optional, process property.
|
static String |
ATTR_PROCESS_TYPE
Attribute key for a common, optional, process property.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String key)
Returns the value of a client defined attribute.
|
int |
getExitValue()
Returns the exit value of this process.
|
String |
getLabel()
Returns a human-readable label for this process.
|
ILaunch |
getLaunch()
Returns the launch this element originated from.
|
IStreamsProxy |
getStreamsProxy()
Returns a proxy to the standard input, output, and error streams
for this process, or
null if not supported. |
void |
setAttribute(String key,
String value)
Sets the value of a client defined attribute.
|
getAdaptercanTerminate, isTerminated, terminatestatic final String ATTR_CMDLINE
static final String ATTR_PROCESS_TYPE
static final String ATTR_PROCESS_LABEL
String getLabel()
ILaunch getLaunch()
IStreamsProxy getStreamsProxy()
null if not supported.null if not supportedvoid setAttribute(String key, String value)
key - the attribute keyvalue - the attribute valueString getAttribute(String key)
key - the attribute keynull if undefinedint getExitValue()
throws DebugException
DebugException - if this process has not yet terminatedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.