shikeying
2024-01-30 1a56cbb4cc61382d67be150acb2c3a91a679a808
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
    }
 
}