de.cau.cs.kieler.sim.kiem.automated.execution
Class AutomationJob

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.core.internal.jobs.InternalJob
          extended by org.eclipse.core.runtime.jobs.Job
              extended by de.cau.cs.kieler.sim.kiem.automated.execution.AutomationJob
All Implemented Interfaces:
Comparable, IAdaptable

public class AutomationJob
extends Job

This job is responsible for starting the execution in the execution manager.

Rating proposed yellow
(2010-02-01)

Field Summary
 
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
 
Fields inherited from class org.eclipse.core.internal.jobs.InternalJob
manager
 
Constructor Summary
AutomationJob(IPath[] executionFilesParam, List<IPath> modelFilesParam, List<KiemProperty> propertiesParam, boolean headlessParam)
          Creates a new AutomationJob.
 
Method Summary
 IStatus run(IProgressMonitor monitor)
          
 
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
 
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareTo
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

AutomationJob

public AutomationJob(IPath[] executionFilesParam,
                     List<IPath> modelFilesParam,
                     List<KiemProperty> propertiesParam,
                     boolean headlessParam)
Creates a new AutomationJob.

Parameters:
executionFilesParam - list of execution files
modelFilesParam - list of model files
propertiesParam - list of properties
headlessParam - if true no GUI output will be generated
Method Detail

run

public IStatus run(IProgressMonitor monitor)

Specified by:
run in class Job