com.heanbian.boot.autoconfigure.elasticsearch.ElasticsearchProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of heanbian-spring-boot-autoconfigure Show documentation
Show all versions of heanbian-spring-boot-autoconfigure Show documentation
Heanbian spring boot autoconfigure component.
package com.heanbian.boot.autoconfigure.elasticsearch;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "heanbian.elasticsearch")
public class ElasticsearchProperties {
private boolean enabled = false;
private String clusterNodes;
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public String getClusterNodes() {
return clusterNodes;
}
public void setClusterNodes(String clusterNodes) {
this.clusterNodes = clusterNodes;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy