package com.kodcu.config;

/**
 * Created by Hakan on 5/19/2015.
 */
public class YamlConfiguration {

    private String mongoHost;
    private int mongoPort;
    private String database;
    private String collection;
    private String outFile;
    private String esHost;
    private int esTransPort;
    private boolean enableBulk;

    private YamlConfiguration() {
    }

    public boolean isEnableBulk() {
        return enableBulk;
    }

    public void setEnableBulk(boolean enableBulk) {
        this.enableBulk = enableBulk;
    }

    public String getCollection() {
        return collection;
    }

    public void setCollection(String collection) {
        this.collection = collection;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getOutFile() {
        return outFile;
    }

    public void setOutFile(String outFile) {
        this.outFile = outFile;
    }

    public String getMongoHost() {
        return mongoHost;
    }

    public void setMongoHost(String mongoHost) {
        this.mongoHost = mongoHost;
    }

    public int getMongoPort() {
        return mongoPort;
    }

    public void setMongoPort(int mongoPort) {
        this.mongoPort = mongoPort;
    }

    public String getEsHost() {
        return esHost;
    }

    public void setEsHost(String esHost) {
        this.esHost = esHost;
    }

    public int getEsTransPort() {
        return esTransPort;
    }

    public void setEsTransPort(int esTransPort) {
        this.esTransPort = esTransPort;
    }
}
@@ -1626,10 +1626,515 @@
 t;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        return %22YamlConfiguration%7B%22 +%0A                %22collection='%22 + collection + '%5C'' +%0A                %22, mongoHost='%22 + mongoHost + '%5C'' +%0A                %22, mongoPort=%22 + mongoPort +%0A                %22, database='%22 + database + '%5C'' +%0A                %22, outFile='%22 + outFile + '%5C'' +%0A                %22, esHost='%22 + esHost + '%5C'' +%0A                %22, esTransPort=%22 + esTransPort +%0A                %22, enableBulk=%22 + enableBulk +%0A                '%7D';%0A    %7D
 %0A%7D

Add toString