public enum TriggerType extends java.lang.Enum<TriggerType>
| Modifier and Type | Method and Description |
|---|---|
static TriggerType |
getType(org.quartz.Trigger trigger) |
java.lang.String |
getValue() |
org.quartz.Trigger |
newTrigger(java.lang.String name,
java.lang.String group,
int rate,
java.lang.Integer times) |
org.quartz.Trigger |
newTrigger(java.lang.String name,
java.lang.String group,
java.lang.String cronExpression) |
static TriggerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerType simple
public static final TriggerType cron
public static TriggerType[] values()
for (TriggerType c : TriggerType.values()) System.out.println(c);
public static TriggerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public org.quartz.Trigger newTrigger(java.lang.String name,
java.lang.String group,
int rate,
java.lang.Integer times)
public org.quartz.Trigger newTrigger(java.lang.String name,
java.lang.String group,
java.lang.String cronExpression)
public static TriggerType getType(org.quartz.Trigger trigger)