wangrong
2026-08-30 761e5c5fa871959f60e15c971c8d83f2b53d0af5
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package io.dataease.api.sync.task.dto;
 
import lombok.Data;
 
import java.time.LocalDateTime;
 
/**
 * @author fit2cloud
 * @date 2023/11/28 17:17
 **/
@Data
public class TaskInfoDTO {
    private String id;
 
    private String name;
 
    /**
     * 任务类型KEY
     */
    private String jobKey;
 
    private String desc;
 
    private LocalDateTime createTime;
 
    private LocalDateTime modifyTime;
 
    /**
     * 创建人
     */
    private Long createBy;
 
    /**
     * 修改人
     */
    private Long modifyBy;
 
    /**
     * 任务参数
     */
    private String parameter;
 
    /**
     * 扩展参数
     */
    private String extParameter;
 
    /**
     * 当前任务状态
     * unexecuted未执行 currentTime<startTime
     * waiting等待执行 stopTime>=currentTime>=startTime,status=1
     * suspend暂停 stopTime>=currentTime>=startTime,status=0
     * done执行结束 currentTime>stopTime
     * running执行中,通过当前任务的日志状态判断,如果有日志在执行中
     */
    private String status;
 
    /**
     * 删除标识
     */
    private Boolean deleted;
 
    /**
     * 任务执行超时时间
     */
    private Long executorTimeout;
 
    /**
     * 任务执行失败重试次数
     */
    private Long executorFailRetryCount;
 
    /**
     * 上次调度时间
     */
    private Long triggerLastTime;
 
    /**
     * 下次次调度时间
     */
    private Long triggerNextTime;
 
    /**
     * 调度类型,NONE,CRON,FIX_RATE,FIX_DELAY
     */
    private String schedulerType;
 
    /**
     * 调度配置,取决于调度类型
     */
    private String schedulerConf;
 
    /**
     * 开始时间
     */
    private String startTime;
 
    /**
     * 结束时间
     */
    private String stopTime;
 
 
    /**
     * 源数据源信息
     */
    private Source source;
    /**
     * 目标数据源信息
     */
    private Target target;
 
    /**
     * 编辑标识
     */
    private boolean editing;
    /**
     * 所有内容可编辑
     */
    private boolean editable;
}