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 io.better.toutiao.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @author better create in 2019-04-28 10:27
*/
@ConfigurationProperties(prefix = "xxl.job")
@Component
@Data
public class XxlJobProperties {
/**
* xxl-job地址
*/
private String adminAddresses;
/**
* IP地址
*/
private String ip;
/**
* 日志名称
*/
private String appName;
/**
* 日志地址
*/
private String logPath;
/**
* 端口号
*/
private Integer port;
/**
* 凭证
*/
private String accessToken;
/**
* 日志保存时长
*/
private Integer logRetentionDays;
}