public static enum Task.Mode extends Enum<Task.Mode>
| Enum Constant and Description | 
|---|
| BACKGROUNDExecuted in the background. | 
| BLOCKING_APPLICATIONBlocks the whole UI while the tasks is executed. | 
| BLOCKING_WINDOWBlocks a single window while the tasks is executed. | 
| SILENTLike  BACKGROUNDbut this task will not
 throw any events during execution. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Task.Mode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Task.Mode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Task.Mode SILENT
BACKGROUND but this task will not
 throw any events during execution.public static final Task.Mode BACKGROUND
public static final Task.Mode BLOCKING_APPLICATION
public static final Task.Mode BLOCKING_WINDOW
public static Task.Mode[] values()
for (Task.Mode c : Task.Mode.values()) System.out.println(c);
public static Task.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 null