org.topbraid.sparqlmotion.engine.impl
Class ExecutionEngine

java.lang.Object
  extended by org.topbraid.sparqlmotion.engine.impl.AbstractExecutionEngine
      extended by org.topbraid.sparqlmotion.engine.impl.ExecutionEngine
All Implemented Interfaces:
IExecutionEngine

public class ExecutionEngine
extends AbstractExecutionEngine

Default SparqlMotion execution implementation. This currently assumes that all modules need to be executed once, i.e. no loops or whatever. The traversal starts at the leaves and then goes down.

Author:
Holger Knublauch

Constructor Summary
ExecutionEngine(IScript script)
           
 
Method Summary
protected  boolean execute(IExecutableModule executableModule, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void execute(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IExecutionContext merge(java.util.Collection<IExecutionContext> others, IModule module)
           
 
Methods inherited from class org.topbraid.sparqlmotion.engine.impl.AbstractExecutionEngine
addExecutionListener, getScript, notifyListenersModule, notifyListenersWarning, removeExecutionListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionEngine

public ExecutionEngine(IScript script)
Method Detail

execute

public void execute(org.eclipse.core.runtime.IProgressMonitor monitor)
             throws java.lang.Throwable
Throws:
java.lang.Throwable

execute

protected boolean execute(IExecutableModule executableModule,
                          org.eclipse.core.runtime.IProgressMonitor monitor)
                   throws java.lang.Throwable
Throws:
java.lang.Throwable

merge

public IExecutionContext merge(java.util.Collection<IExecutionContext> others,
                               IModule module)