package com.walker.support.es.config;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ConfigurationProperties(prefix = "iplatform.search")
|
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;
|
}
|
|
}
|