
it.unitn.disi.common.pipelines.IBasePipeline Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of s-match Show documentation
Show all versions of s-match Show documentation
A version of S-Match semantic matching framework for Open Data
The newest version!
package it.unitn.disi.common.pipelines;
import it.unitn.disi.common.components.IConfigurable;
import it.unitn.disi.nlptools.components.PipelineComponentException;
/**
* Common pipeline interface.
*
* @author Aliaksandr Autayeu
*/
public interface IBasePipeline extends IConfigurable {
/**
* Processes an instance of E.
*
* @param instance an instance to process
* @throws PipelineComponentException PipelineComponentException
*/
void process(E instance) throws PipelineComponentException;
/**
* Should be called by a client before pipeline starts processing any instance of pipeline subject matter.
*
* @throws PipelineComponentException PipelineComponentException
*/
void beforeProcessing() throws PipelineComponentException;
/**
* Should be called by a client after pipeline finished processing all instances of pipeline subject matter.
*
* @throws PipelineComponentException PipelineComponentException
*/
void afterProcessing() throws PipelineComponentException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy