org.intermine.postprocess
Class PostProcessor

java.lang.Object
  extended by org.intermine.postprocess.PostProcessor
Direct Known Subclasses:
GoPostprocess, UpdateOrthologues

public abstract class PostProcessor
extends java.lang.Object

Generic defn of a post process step...


Field Summary
protected  ObjectStoreWriter osw
           
 
Constructor Summary
PostProcessor(ObjectStoreWriter osw)
          Typical constructor with a handle to the object store we are working on.
 
Method Summary
 ObjectStoreWriter getObjectStoreWriter()
          Return the ObjectStoreWriter that was passed to the constructor.
abstract  void postProcess()
          All subclasses should override this method so they can be called in a generic fashion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

osw

protected ObjectStoreWriter osw
Constructor Detail

PostProcessor

public PostProcessor(ObjectStoreWriter osw)
Typical constructor with a handle to the object store we are working on.

Parameters:
osw - The object store that the postprocessor should operate on.
Method Detail

getObjectStoreWriter

public ObjectStoreWriter getObjectStoreWriter()
Return the ObjectStoreWriter that was passed to the constructor.

Returns:
the ObjectStoreWriter

postProcess

public abstract void postProcess()
                          throws ObjectStoreException
All subclasses should override this method so they can be called in a generic fashion.

Throws:
ObjectStoreException - if there is a problem with the object store.