org.semwebcentral.sweetrules.sweetxsb
Class SweetXSBLoadTask

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetKBLoadTask
      extended byorg.semwebcentral.sweetrules.sweetxsb.SweetXSBLoadTask
All Implemented Interfaces:
ISweetInferenceEngineTask

public class SweetXSBLoadTask
extends AbstractSweetKBLoadTask


Task for loading a KB into XSB

Modified on: Aug 25, 2004, 2:09:25 PM

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy

Field Summary
protected  SweetXSBEngine xsbEngine
          An xsb engine
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetKBLoadTask
kbDescriptor
 
Constructor Summary
SweetXSBLoadTask(SweetXSBEngine engine, ISweetKBDescriptor descriptor)
          Constructor for the SweetXSBLoadTask
 
Method Summary
 java.lang.Object execute()
          The task execution method for load
 
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

xsbEngine

protected SweetXSBEngine xsbEngine
An xsb engine

Constructor Detail

SweetXSBLoadTask

public SweetXSBLoadTask(SweetXSBEngine engine,
                        ISweetKBDescriptor descriptor)
Constructor for the SweetXSBLoadTask

Parameters:
engine - The prolog 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