com.intellij.execution.process
Class ProcessHandler

java.lang.Object
  extended by com.intellij.openapi.util.UserDataHolderBase
      extended by com.intellij.execution.process.ProcessHandler
All Implemented Interfaces:
UserDataHolder, java.lang.Cloneable
Direct Known Subclasses:
OSProcessHandler

public abstract class ProcessHandler
extends UserDataHolderBase


Field Summary
 
Fields inherited from class com.intellij.openapi.util.UserDataHolderBase
COPYABLE_USER_MAP_KEY
 
Constructor Summary
protected ProcessHandler()
           
 
Method Summary
 void addProcessListener(ProcessListener listener)
           
 void destroyProcess()
           
protected abstract  void destroyProcessImpl()
           
abstract  boolean detachIsDefault()
           
 void detachProcess()
           
protected abstract  void detachProcessImpl()
           
abstract  java.io.OutputStream getProcessInput()
           
 boolean isProcessTerminated()
           
 boolean isProcessTerminating()
           
 boolean isStartNotified()
           
protected  void notifyProcessDetached()
           
protected  void notifyProcessTerminated(int exitCode)
           
 void notifyTextAvailable(java.lang.String text, Key outputType)
           
 void removeProcessListener(ProcessListener listener)
           
 void startNotify()
           
 void waitFor()
           
 
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
clone, getCopyableUserData, getCopyableUserDataImpl, getUserData, getUserDataString, putCopyableUserData, putCopyableUserDataImpl, putUserData
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessHandler

protected ProcessHandler()
Method Detail

startNotify

public void startNotify()

destroyProcessImpl

protected abstract void destroyProcessImpl()

detachProcessImpl

protected abstract void detachProcessImpl()

detachIsDefault

public abstract boolean detachIsDefault()

waitFor

public void waitFor()

destroyProcess

public void destroyProcess()

detachProcess

public void detachProcess()

isProcessTerminated

public boolean isProcessTerminated()

isProcessTerminating

public boolean isProcessTerminating()

addProcessListener

public void addProcessListener(ProcessListener listener)

removeProcessListener

public void removeProcessListener(ProcessListener listener)

notifyProcessDetached

protected void notifyProcessDetached()

notifyProcessTerminated

protected void notifyProcessTerminated(int exitCode)

notifyTextAvailable

public void notifyTextAvailable(java.lang.String text,
                                Key outputType)

getProcessInput

public abstract java.io.OutputStream getProcessInput()

isStartNotified

public boolean isStartNotified()