public enum CronType extends Enum<CronType>
| Enum Constant and Description |
|---|
CRON4J
Uses the cron4j cron format.
|
QUARTZ
Uses the quartz cron format.
|
UNIX
Uses the unix cron format.
|
| Modifier and Type | Method and Description |
|---|---|
com.cronutils.model.CronType |
getType()
Maps this cron type to the back end's type.
|
static CronType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CronType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CronType QUARTZ
public static final CronType UNIX
public static final CronType CRON4J
public static CronType[] values()
for (CronType c : CronType.values()) System.out.println(c);
public static CronType 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 com.cronutils.model.CronType getType()
Copyright © 2014–2018. All rights reserved.