package de.tblsoft.solr.pipeline.bean;

import java.util.Map;

/**
 * Created by tblsoft on 1.09.18.
 */
public class Processor {

    private String name;

    private String clazz;

    private Map<String,?> property;

    private Boolean disabled;

    public String getName() {
        return name;
    }

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

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public Map<String, ?> getProperty() {
        return property;
    }

    public void setProperty(Map<String, String> property) {
        this.property = property;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    @Override
    public String toString() {
        return "Processor{" +
                "name='" + name + '\'' +
                '}';
    }
}

@@ -33,16 +33,63 @@
 .bean;%0A%0A
+import org.apache.commons.lang3.BooleanUtils;%0A%0A
 import j
@@ -289,16 +289,32 @@
 disabled
+ = Boolean.FALSE
 ;%0A%0A    p

add a disabled property to the processor