org.eclipse.emf.mwe.ewm.internal.launcher
Class WorkflowProcess

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.emf.mwe.ewm.internal.launcher.WorkflowProcess
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IProcess, org.eclipse.debug.core.model.ITerminate

public class WorkflowProcess
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.debug.core.model.IProcess


Field Summary
 
Fields inherited from interface org.eclipse.debug.core.model.IProcess
ATTR_CMDLINE, ATTR_PROCESS_LABEL, ATTR_PROCESS_TYPE
 
Constructor Summary
WorkflowProcess(WorkflowComponent workflow, WorkflowContext context, org.eclipse.debug.core.ILaunch launch)
           
WorkflowProcess(WorkflowEngine engine, org.eclipse.debug.core.ILaunch launch)
           
 
Method Summary
 boolean canTerminate()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.lang.String getAttribute(java.lang.String key)
           
 int getExitValue()
           
 java.lang.String getLabel()
           
 org.eclipse.debug.core.ILaunch getLaunch()
           
 org.eclipse.debug.core.model.IStreamsProxy getStreamsProxy()
           
 boolean isTerminated()
           
 void setAttribute(java.lang.String key, java.lang.String value)
           
 void start()
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowProcess

public WorkflowProcess(WorkflowComponent workflow,
                       WorkflowContext context,
                       org.eclipse.debug.core.ILaunch launch)

WorkflowProcess

public WorkflowProcess(WorkflowEngine engine,
                       org.eclipse.debug.core.ILaunch launch)
Method Detail

getAttribute

public java.lang.String getAttribute(java.lang.String key)
Specified by:
getAttribute in interface org.eclipse.debug.core.model.IProcess

getExitValue

public int getExitValue()
                 throws org.eclipse.debug.core.DebugException
Specified by:
getExitValue in interface org.eclipse.debug.core.model.IProcess
Throws:
org.eclipse.debug.core.DebugException

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface org.eclipse.debug.core.model.IProcess

getLaunch

public org.eclipse.debug.core.ILaunch getLaunch()
Specified by:
getLaunch in interface org.eclipse.debug.core.model.IProcess

getStreamsProxy

public org.eclipse.debug.core.model.IStreamsProxy getStreamsProxy()
Specified by:
getStreamsProxy in interface org.eclipse.debug.core.model.IProcess

start

public void start()

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.String value)
Specified by:
setAttribute in interface org.eclipse.debug.core.model.IProcess

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Overrides:
getAdapter in class org.eclipse.core.runtime.PlatformObject

canTerminate

public boolean canTerminate()
Specified by:
canTerminate in interface org.eclipse.debug.core.model.ITerminate

isTerminated

public boolean isTerminated()
Specified by:
isTerminated in interface org.eclipse.debug.core.model.ITerminate

terminate

public void terminate()
               throws org.eclipse.debug.core.DebugException
Specified by:
terminate in interface org.eclipse.debug.core.model.ITerminate
Throws:
org.eclipse.debug.core.DebugException