All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.agido.logback.elasticsearch.config.ElasticsearchProperties Maven / Gradle / Ivy

The newest version!
package com.agido.logback.elasticsearch.config;

import java.util.ArrayList;
import java.util.List;

/**
 * this holds the information from the appender/properties tag (in logback.xml)
 */
public class ElasticsearchProperties {

    private List properties;

    public ElasticsearchProperties() {
        this.properties = new ArrayList();
    }

    public List getProperties() {
        return properties;
    }

    /**
     * this is called by logback for each property tag contained in the properties tag
     */
    public void addProperty(Property property) {
        properties.add(property);
    }

    /**
     * this is called by logback for each esProperty tag contained in the properties tag
     */
    public void addEsProperty(Property property) {
        properties.add(property);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy