de.uka.ipd.sdq.codegen.simucontroller
Class SimuComJob

java.lang.Object
  extended by Job
      extended by de.uka.ipd.sdq.codegen.simucontroller.SimuComJob
All Implemented Interfaces:
IStatusObserver

public class SimuComJob
extends Job
implements IStatusObserver


Constructor Summary
SimuComJob(ISimuComControl control, SimuComConfig config)
           
 
Method Summary
 Throwable getErrorThrowable()
           
 SimuComResult getStatus()
           
protected  IStatus run(IProgressMonitor monitor)
           
 void updateStatus(int percentDone, double currentTime, long measurementsTaken)
          Notification call informing the observer about the simulation progess in percent done
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimuComJob

public SimuComJob(ISimuComControl control,
                  SimuComConfig config)
Method Detail

run

protected IStatus run(IProgressMonitor monitor)

updateStatus

public void updateStatus(int percentDone,
                         double currentTime,
                         long measurementsTaken)
Description copied from interface: IStatusObserver
Notification call informing the observer about the simulation progess in percent done

Specified by:
updateStatus in interface IStatusObserver
Parameters:
percentDone - Percentage of the maximum simulation time which has passed

getErrorThrowable

public Throwable getErrorThrowable()

getStatus

public SimuComResult getStatus()