public static enum AbstractOperation.MODE extends java.lang.Enum<AbstractOperation.MODE>
| Enum Constant and Description |
|---|
BACKGROUND_THREAD
Run in sequence on a Background thread.
|
BLOCKING_MAIN_THREAD
Run in sequence and async on the main thread, but the Background Thread wait until call of operationDone()
|
INSTANT_MAIN_THREAD
Run in sequence and async on the main thread, the Background Thread do not wait for a result
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractOperation.MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractOperation.MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractOperation.MODE BACKGROUND_THREAD
public static final AbstractOperation.MODE INSTANT_MAIN_THREAD
public static final AbstractOperation.MODE BLOCKING_MAIN_THREAD
public static AbstractOperation.MODE[] values()
for (AbstractOperation.MODE c : AbstractOperation.MODE.values()) System.out.println(c);
public static AbstractOperation.MODE 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 null