public static enum TaskRunner.ThreadExecutionStrategy extends java.lang.Enum<TaskRunner.ThreadExecutionStrategy>
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ThreadPoolExecutor |
getExecutor() |
static TaskRunner.ThreadExecutionStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskRunner.ThreadExecutionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskRunner.ThreadExecutionStrategy SINGLE
public static final TaskRunner.ThreadExecutionStrategy POOLED
public static final TaskRunner.ThreadExecutionStrategy NONE
public static TaskRunner.ThreadExecutionStrategy[] values()
for (TaskRunner.ThreadExecutionStrategy c : TaskRunner.ThreadExecutionStrategy.values()) System.out.println(c);
public static TaskRunner.ThreadExecutionStrategy 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.util.concurrent.ThreadPoolExecutor getExecutor()