public enum JobScheduleType extends Enum<JobScheduleType> implements com.alibaba.fastjson.serializer.JSONSerializable
| 枚举常量和说明 |
|---|
CRON
Custom cron expression.
|
DAILY
Run each day
|
DRY_RUN
Only once.
|
FIXED_RATE
Trigger in a fixed rate.
|
HOURLY
Run each hour.
|
RESIDENT
Long live.
|
WEEKLY
Run each week.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static JobScheduleType |
fromString(String value) |
String |
toString() |
static JobScheduleType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JobScheduleType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
void |
write(com.alibaba.fastjson.serializer.JSONSerializer serializer,
Object fieldName,
Type fieldType,
int features) |
public static final JobScheduleType FIXED_RATE
public static final JobScheduleType HOURLY
public static final JobScheduleType DAILY
public static final JobScheduleType WEEKLY
public static final JobScheduleType CRON
public static final JobScheduleType DRY_RUN
public static final JobScheduleType RESIDENT
public static JobScheduleType[] values()
for (JobScheduleType c : JobScheduleType.values()) System.out.println(c);
public static JobScheduleType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<JobScheduleType>public static JobScheduleType fromString(String value)
Copyright © 2020. All Rights Reserved.