public enum JobScheduleType extends Enum<JobScheduleType> implements com.alibaba.fastjson.serializer.JSONSerializable
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static JobScheduleType |
fromString(String value) |
String |
toString() |
static JobScheduleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<JobScheduleType>public static JobScheduleType fromString(String value)
Copyright © 2025. All Rights Reserved.