java.io.Serializable, java.lang.Comparable<TriggerType>public enum TriggerType extends java.lang.Enum<TriggerType>
| Modifier and Type | Method | Description |
|---|---|---|
static TriggerType |
resolve(java.lang.String alias) |
Returns a
TriggerType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
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 CRON
public static final TriggerType SIMPLE
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 toString()
toString in class java.lang.Enum<TriggerType>public static TriggerType resolve(java.lang.String alias)
TriggerType with a value represented
by the specified String.alias - the trigger type as a StringTriggerType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.