org.eclipse.ocl.examples.debug.vm.launching
Class DebuggableRunner

java.lang.Object
  extended by org.eclipse.ocl.examples.debug.vm.launching.DebuggableRunner

public class DebuggableRunner
extends java.lang.Object


Field Summary
protected  IDebuggableRunnerFactory debuggableRunnerFactory
           
protected  org.eclipse.emf.common.util.URI debuggableURI
           
protected  InternalDebuggableExecutor executor
           
 
Constructor Summary
DebuggableRunner(IDebuggableRunnerFactory debuggableRunnerFactory, org.eclipse.emf.common.util.URI debuggableURI, InternalDebuggableExecutor executor)
           
 
Method Summary
 VMDebuggableExecutorAdapter createDebuggableAdapter(EvaluationContext evaluationContext)
           
 org.eclipse.emf.common.util.Diagnostic execute(VMStartRequest startRequest, EvaluationContext evaluationContext)
           
 org.eclipse.emf.common.util.URI getDebuggableURI()
           
protected  IVMEnvironmentFactory getEnvFactory()
           
protected  InternalDebuggableExecutor getExecutor()
           
 MetaModelManager getMetaModelManager()
           
 IDebuggableRunnerFactory getRunnerFactory()
           
 org.eclipse.emf.common.util.URI getTraceFileURI()
           
protected  void handleExecution(ExecutionDiagnostic execDiagnostic)
           
protected  void handleLoadDebuggable(org.eclipse.emf.common.util.Diagnostic diagnostic)
           
protected  void handleLoadExtents(org.eclipse.emf.common.util.Diagnostic diagnostic)
           
protected  void handleSaveExtents(org.eclipse.emf.common.util.Diagnostic diagnostic)
           
 org.eclipse.emf.common.util.Diagnostic initialize()
           
protected static boolean isSuccess(org.eclipse.emf.common.util.Diagnostic diagnostic)
          Successfully finished execution, no errors and user interruption
 void setErrorLog(java.io.PrintWriter errorLog)
           
 void setTraceFile(org.eclipse.emf.common.util.URI traceFileURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debuggableRunnerFactory

@NonNull
protected final IDebuggableRunnerFactory debuggableRunnerFactory

debuggableURI

@NonNull
protected final org.eclipse.emf.common.util.URI debuggableURI

executor

@NonNull
protected final InternalDebuggableExecutor executor
Constructor Detail

DebuggableRunner

public DebuggableRunner(@NonNull
                        IDebuggableRunnerFactory debuggableRunnerFactory,
                        @NonNull
                        org.eclipse.emf.common.util.URI debuggableURI,
                        @NonNull
                        InternalDebuggableExecutor executor)
Method Detail

isSuccess

protected static boolean isSuccess(org.eclipse.emf.common.util.Diagnostic diagnostic)
Successfully finished execution, no errors and user interruption


createDebuggableAdapter

@NonNull
public VMDebuggableExecutorAdapter createDebuggableAdapter(@NonNull
                                                                   EvaluationContext evaluationContext)

execute

public org.eclipse.emf.common.util.Diagnostic execute(@NonNull
                                                      VMStartRequest startRequest,
                                                      @NonNull
                                                      EvaluationContext evaluationContext)

getDebuggableURI

@NonNull
public org.eclipse.emf.common.util.URI getDebuggableURI()

getEnvFactory

@NonNull
protected IVMEnvironmentFactory getEnvFactory()

getExecutor

@NonNull
protected InternalDebuggableExecutor getExecutor()

getMetaModelManager

@NonNull
public MetaModelManager getMetaModelManager()

getRunnerFactory

@NonNull
public IDebuggableRunnerFactory getRunnerFactory()

getTraceFileURI

public org.eclipse.emf.common.util.URI getTraceFileURI()

handleLoadExtents

protected void handleLoadExtents(org.eclipse.emf.common.util.Diagnostic diagnostic)

handleExecution

protected void handleExecution(ExecutionDiagnostic execDiagnostic)

handleLoadDebuggable

protected void handleLoadDebuggable(org.eclipse.emf.common.util.Diagnostic diagnostic)

handleSaveExtents

protected void handleSaveExtents(org.eclipse.emf.common.util.Diagnostic diagnostic)

initialize

public org.eclipse.emf.common.util.Diagnostic initialize()

setErrorLog

public void setErrorLog(@NonNull
                        java.io.PrintWriter errorLog)

setTraceFile

public void setTraceFile(org.eclipse.emf.common.util.URI traceFileURI)