|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProcess
A process represents a program running in normal (non-debug) mode. Processes support setting and getting of client defined attributes. This way, clients can annotate a process with any extra information important to them. For example, classpath annotations, or command line arguments used to launch the process may be important to a client.
Clients may implement this interface, however, the debug plug-in
provides an implementation of this interface for a
java.lang.Process
.
DebugPlugin.newProcess(ILaunch, Process, String)
Field Summary | |
---|---|
static java.lang.String |
ATTR_CMDLINE
Attribute key for a common, optional, process property. |
static java.lang.String |
ATTR_PROCESS_LABEL
Attribute key for a common, optional, process property. |
static java.lang.String |
ATTR_PROCESS_TYPE
Attribute key for a common, optional, process property. |
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String key)
Returns the value of a client defined attribute. |
int |
getExitValue()
Returns the exit value of this process. |
java.lang.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(java.lang.String key,
java.lang.String value)
Sets the value of a client defined attribute. |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.debug.core.model.ITerminate |
---|
canTerminate, isTerminated, terminate |
Field Detail |
---|
static final java.lang.String ATTR_CMDLINE
static final java.lang.String ATTR_PROCESS_TYPE
static final java.lang.String ATTR_PROCESS_LABEL
Method Detail |
---|
java.lang.String getLabel()
ILaunch getLaunch()
IStreamsProxy getStreamsProxy()
null
if not supported.
null
if not supportedvoid setAttribute(java.lang.String key, java.lang.String value)
key
- the attribute keyvalue
- the attribute valuejava.lang.String getAttribute(java.lang.String key)
key
- the attribute key
null
if undefinedint getExitValue() throws DebugException
DebugException
- if this process has not yet terminated
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.