public class ConsolePseudoProcess
extends PlatformObject
Modifier and Type | Class and Description |
---|---|
static class |
ConsolePseudoProcess.Retransmitter
Responsible for getting text as
Writer and retransmitting it
as IStreamMonitor to whoever is interested. |
Constructor and Description |
---|
ConsolePseudoProcess(ILaunch launch,
java.lang.String name,
ConsolePseudoProcess.Retransmitter retransmitter,
ITerminate connectionTerminate)
Constructs a ConsolePseudoProcess, adding this process to the given launch.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canTerminate() |
java.lang.Object |
getAdapter(java.lang.Class adapter) |
java.lang.String |
getAttribute(java.lang.String key) |
int |
getExitValue() |
java.lang.String |
getLabel() |
ILaunch |
getLaunch() |
java.io.Writer |
getOutputWriter() |
IStreamsProxy |
getStreamsProxy() |
boolean |
isTerminated() |
void |
setAttribute(java.lang.String key,
java.lang.String value) |
void |
terminate() |
public ConsolePseudoProcess(ILaunch launch, java.lang.String name, ConsolePseudoProcess.Retransmitter retransmitter, ITerminate connectionTerminate)
launch
- the parent launch of this processname
- the label used for this processpublic java.io.Writer getOutputWriter()
public java.lang.String getLabel()
public ILaunch getLaunch()
public boolean isTerminated()
public void terminate() throws DebugException
DebugException
public boolean canTerminate()
public IStreamsProxy getStreamsProxy()
public void setAttribute(java.lang.String key, java.lang.String value)
public java.lang.String getAttribute(java.lang.String key)
public int getExitValue() throws DebugException
DebugException
public java.lang.Object getAdapter(java.lang.Class adapter)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.