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

com.heanbian.boot.autoconfigure.elasticsearch.ElasticsearchProperties Maven / Gradle / Ivy

There is a newer version: 20200807
Show newest version
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