Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.joschi.dropwizard.elasticsearch.config;
 
 
Configuration class for Elasticsearch related settings.
public class EsConfiguration {
    @NotNull
    private List<HostAndPortservers = Collections.emptyList();
    @NotEmpty
    private String clusterName = "elasticsearch";
    private boolean nodeClient = true;
    @NotNull
    private Map<StringStringsettings = Collections.emptyMap();
    public List<HostAndPortgetServers() {
        return ;
    }
    public String getClusterName() {
        return ;
    }
    public boolean isNodeClient() {
        return ;
    }
    public Map<StringStringgetSettings() {
        return ;
    }
    public boolean isValidConfig() {
        return  || !.isEmpty();
    }
New to GrepCode? Check out our FAQ X