package de.tblsoft.solr.pipeline;

import de.tblsoft.solr.pipeline.bean.Document;
import de.tblsoft.solr.pipeline.bean.Filter;

import java.util.Map;

/**
 * Created by tblsoft on 23.01.16.
 */
public interface FilterIF {

    public void init();

    public void document(Document document);

    public void end();

    public void setFilterConfig(Filter filter);

    public void setNextFilter(FilterIF filter);

    public void setBaseDir(String baseDir);

    public String getId();

    public void setVariables(Map<String,String> variables);

    void setPipelineExecuter(PipelineExecuter pipelineExecuter);
}

@@ -121,16 +121,45 @@
 ilter;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -242,16 +242,37 @@
 ilterIF 
+extends Serializable 
 %7B%0A%0A    p

implement serializable interface