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
| package org.springblade.modules.quartz.enums;
|
| import lombok.AllArgsConstructor;
| import lombok.Getter;
|
| /**
| * 任务状态
| * @author zhongrj
| * @since 2022-03-17
| */
| @Getter
| @AllArgsConstructor
| public enum ScheduledStatus {
|
| /**
| * 正常
| */
| NORMAL(1),
|
| /**
| * 暂停
| */
| PAUSE(2);
|
| /**
| * 类型 1:正常 2:暂停
| */
| private final Integer type;
| }
|
|