AllProperties.java
901 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package properties;
import lombok.Data;
import java.io.Serializable;
/**
* Created by markeloff on 2017/7/26.
*/
public class AllProperties implements Serializable {
private SparkProperties spark;
private ESProperties es;
private KafkaProperties kafka;
private HBaseProperties hbase;
public ESProperties getEs() {
return es;
}
public void setEs(ESProperties es) {
this.es = es;
}
public KafkaProperties getKafka() {
return kafka;
}
public void setKafka(KafkaProperties kafka) {
this.kafka = kafka;
}
public SparkProperties getSpark() {
return spark;
}
public HBaseProperties getHbase() {
return hbase;
}
public void setHbase(HBaseProperties hbase){
this.hbase = hbase ;
}
public void setSpark(SparkProperties spark) {
this.spark = spark;
}
}