package de.tblsoft.solr.pipeline.bean;

import java.util.List;
import java.util.Map;

/**
 * Created by tblsoft on 22.01.16.
 */
public class Pipeline {
    private String name;

    private Map<String,String> variables;

    private Reader reader;
    private List<Filter> filter;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Reader getReader() {
        return reader;
    }

    public void setReader(Reader reader) {
        this.reader = reader;
    }

    public List<Filter> getFilter() {
        return filter;
    }

    public void setFilter(List<Filter> filter) {
        this.filter = filter;
    }

    public Map<String, String> getVariables() {
        return variables;
    }

    public void setVariables(Map<String, String> variables) {
        this.variables = variables;
    }

    @Override
    public String toString() {
        return "Pipeline{" +
                "name='" + name + '\'' +
                ", variables=" + variables +
                ", reader=" + reader +
                ", filter=" + filter +
                '}';
    }
}

@@ -33,16 +33,42 @@
 .bean;%0A%0A
+import java.util.HashMap;%0A
 import j
@@ -238,16 +238,48 @@
 ariables
+ = new HashMap%3CString, String%3E()
 ;%0A%0A    p

add the possibility to override pipeline parameters of a yaml file in the pipeline executer