org.semwebcentral.sweetrules.sweetjena
Class SweetJenaLoadTask

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetKBLoadTask
      extended byorg.semwebcentral.sweetrules.sweetjena.SweetJenaLoadTask
All Implemented Interfaces:
ISweetInferenceEngineTask

public class SweetJenaLoadTask
extends AbstractSweetKBLoadTask


Task for loading a KB into Jena

Author:
Mike Dean

Field Summary
protected  SweetJenaEngine jenaEngine
          A Jena engine
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetKBLoadTask
kbDescriptor
 
Constructor Summary
SweetJenaLoadTask(SweetJenaEngine engine, ISweetKBDescriptor descriptor)
          Constructor for the SweetJenaLoadTask
 
Method Summary
 java.lang.Object execute()
          The task execution method for load
 SweetJenaEngine getEngine()
          Get the Jena engine.
 void setEngine(SweetJenaEngine engine)
          Set the Jena engine.
 
Methods inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetKBLoadTask
getKBDescriptor, setKBDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jenaEngine

protected SweetJenaEngine jenaEngine
A Jena engine

Constructor Detail

SweetJenaLoadTask

public SweetJenaLoadTask(SweetJenaEngine engine,
                         ISweetKBDescriptor descriptor)
Constructor for the SweetJenaLoadTask

Parameters:
engine - The Jena engine
descriptor - The KB descriptor to load
Method Detail

execute

public java.lang.Object execute()
                         throws SweetInferenceEngineException
The task execution method for load

Returns:
The result of executing the task
Throws:
SweetInferenceEngineException

getEngine

public SweetJenaEngine getEngine()
Get the Jena engine.


setEngine

public void setEngine(SweetJenaEngine engine)
Set the Jena engine.