public static enum Events.MODE extends Enum<Events.MODE>
| Enum Constant and Description | 
|---|
ASYNC
ASYNC  - 异步执行 
 | 
NORMAL
NORMAL - 同步执行 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Events.MODE | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Events.MODE[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Events.MODE NORMAL
public static final Events.MODE ASYNC
public static Events.MODE[] values()
for (Events.MODE c : Events.MODE.values()) System.out.println(c);
public static Events.MODE 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 nullCopyright © 2022. All rights reserved.