潘志宝
5 天以前 b131f033c12459b718565cab504f762c25642d2d
提交 | 用户 | 时间
e7c126 1 package com.xxl.job.admin.core.trigger;
H 2
3 import com.xxl.job.admin.core.util.I18nUtil;
4
5 /**
6  * trigger type enum
7  *
8  * @author xuxueli 2018-09-16 04:56:41
9  */
10 public enum TriggerTypeEnum {
11
12     MANUAL(I18nUtil.getString("jobconf_trigger_type_manual")),
13     CRON(I18nUtil.getString("jobconf_trigger_type_cron")),
14     RETRY(I18nUtil.getString("jobconf_trigger_type_retry")),
15     PARENT(I18nUtil.getString("jobconf_trigger_type_parent")),
16     API(I18nUtil.getString("jobconf_trigger_type_api")),
17     MISFIRE(I18nUtil.getString("jobconf_trigger_type_misfire"));
18
19     private TriggerTypeEnum(String title){
20         this.title = title;
21     }
22     private String title;
23     public String getTitle() {
24         return title;
25     }
26
27 }