org.semwebcentral.sweetrules.infrastructure
Class AbstractSweetKBLoadTask

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetKBLoadTask
All Implemented Interfaces:
ISweetInferenceEngineTask
Direct Known Subclasses:
SweetJenaLoadTask, SweetJessLoadTask, SweetXSBLoadTask

public abstract class AbstractSweetKBLoadTask
extends java.lang.Object
implements ISweetInferenceEngineTask

This provides an abstraction of a load task

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

Field Summary
protected  ISweetKBDescriptor kbDescriptor
          The KB descriptor associated with the load task
 
Constructor Summary
AbstractSweetKBLoadTask(ISweetKBDescriptor descriptor)
          Constructor for the load task
 
Method Summary
 ISweetKBDescriptor getKBDescriptor()
          Get API for KB descriptor
 void setKBDescriptor(ISweetKBDescriptor descriptor)
          Set API for the KB descriptor, facilates Load task reuse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semwebcentral.sweetrules.infrastructure.ISweetInferenceEngineTask
execute
 

Field Detail

kbDescriptor

protected ISweetKBDescriptor kbDescriptor
The KB descriptor associated with the load task

Constructor Detail

AbstractSweetKBLoadTask

public AbstractSweetKBLoadTask(ISweetKBDescriptor descriptor)
Constructor for the load task

Parameters:
descriptor - The descriptor for the knowledge base to be loaded
Method Detail

getKBDescriptor

public ISweetKBDescriptor getKBDescriptor()
Get API for KB descriptor

Returns:
The KB descriptor of this load task

setKBDescriptor

public void setKBDescriptor(ISweetKBDescriptor descriptor)
Set API for the KB descriptor, facilates Load task reuse

Parameters:
descriptor - The descriptor of the