Class PostProcessor


  • public abstract class PostProcessor
    extends java.lang.Object
    Generic defn of a post process step...
    Author:
    Peter Mclaren, Richard Smith
    • 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 java.lang.Exception
        All subclasses should override this method so they can be called in a generic fashion.
        Throws:
        java.lang.Exception - if there is a problem with the object store or solr