org.eclipse.ocl.examples.debug.vm.utils
Class ShallowProcess

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.ocl.examples.debug.vm.utils.BaseProcess
          extended by org.eclipse.ocl.examples.debug.vm.utils.ShallowProcess
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IProcess, org.eclipse.debug.core.model.ITerminate

public class ShallowProcess
extends BaseProcess


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.debug.vm.utils.BaseProcess
BaseProcess.IRunnable
 
Field Summary
 
Fields inherited from interface org.eclipse.debug.core.model.IProcess
ATTR_CMDLINE, ATTR_PROCESS_LABEL, ATTR_PROCESS_TYPE
 
Constructor Summary
ShallowProcess(org.eclipse.debug.core.ILaunch launch, BaseProcess.IRunnable r)
           
 
Method Summary
 boolean canTerminate()
           
 java.lang.String getAttribute(java.lang.String key)
           
 int getExitValue()
           
 java.lang.String getLabel()
           
 org.eclipse.debug.core.ILaunch getLaunch()
           
 boolean isTerminated()
           
 void run()
           
 void run(org.eclipse.debug.core.model.IDebugTarget debugTarget)
           
 void setAttribute(java.lang.String key, java.lang.String value)
           
 void terminate()
           
 
Methods inherited from class org.eclipse.ocl.examples.debug.vm.utils.BaseProcess
getStreamsProxy, setStreamsProxy
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

ShallowProcess

public ShallowProcess(org.eclipse.debug.core.ILaunch launch,
                      BaseProcess.IRunnable r)
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run(org.eclipse.debug.core.model.IDebugTarget debugTarget)
         throws java.lang.Exception
Throws:
java.lang.Exception

getLabel

public java.lang.String getLabel()

getLaunch

public org.eclipse.debug.core.ILaunch getLaunch()

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.String value)

getAttribute

public java.lang.String getAttribute(java.lang.String key)

getExitValue

public int getExitValue()
                 throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

canTerminate

public boolean canTerminate()

isTerminated

public boolean isTerminated()

terminate

public void terminate()
               throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException