public class RemoteDebugProcessHandler extends ProcessHandler
SILENTLY_DESTROY_ON_CLOSE, TERMINATION_REQUESTED
Constructor and Description |
---|
RemoteDebugProcessHandler(Project project) |
RemoteDebugProcessHandler(Project project,
boolean autoRestart) |
Modifier and Type | Method and Description |
---|---|
protected void |
destroyProcessImpl()
Performs process destruction.
|
boolean |
detachIsDefault() |
protected void |
detachProcessImpl()
Performs detaching process.
|
java.io.OutputStream |
getProcessInput() |
void |
startNotify() |
addProcessListener, addProcessListener, destroyProcess, detachProcess, getExitCode, isProcessTerminated, isProcessTerminating, isSilentlyDestroyOnClose, isStartNotified, notifyProcessDetached, notifyProcessTerminated, notifyTextAvailable, removeProcessListener, waitFor, waitFor
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public RemoteDebugProcessHandler(Project project)
public RemoteDebugProcessHandler(Project project, boolean autoRestart)
public void startNotify()
startNotify
in class ProcessHandler
protected void destroyProcessImpl()
ProcessHandler
This is an internal implementation of ProcessHandler.destroyProcess()
. All sub-classes must implement this method and perform the
destruction in this method. This method is called from ProcessHandler.destroyProcess()
and it can be in any thread including the
event dispatcher thread. You should avoid doing any expensive operation directly in this method. Instead, you may post the work to
background thread and return without waiting for it. If the performed destruction led to process termination,
ProcessHandler.notifyProcessTerminated(int)
must be called in any thread (not necessary from this method).
destroyProcessImpl
in class ProcessHandler
protected void detachProcessImpl()
ProcessHandler
This is an internal implementation of ProcessHandler.detachProcess()
. All sub-classes must implement this method and perform the
detaching in this method. This method is called from ProcessHandler.detachProcess()
and it can be in any thread including the
event dispatcher thread. You should avoid doing any expensive operation directly in this method. Instead, you may post the work to
background thread and return without waiting for it. If the performed detaching is completed,
ProcessHandler.notifyProcessTerminated(int)
must be called in any thread (not necessary from this method).
detachProcessImpl
in class ProcessHandler
public boolean detachIsDefault()
detachIsDefault
in class ProcessHandler
public java.io.OutputStream getProcessInput()
getProcessInput
in class ProcessHandler