public enum Concurrency extends Enum<Concurrency>
| Enum Constant and Description |
|---|
PARALLEL_CLASSES |
PARALLEL_CLASSES_AND_METHODS |
PARALLEL_METHODS |
SERIAL |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRunClassesParallel() |
boolean |
shouldRunMethodsParallel() |
static Concurrency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Concurrency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Concurrency SERIAL
public static final Concurrency PARALLEL_CLASSES
public static final Concurrency PARALLEL_METHODS
public static final Concurrency PARALLEL_CLASSES_AND_METHODS
public static Concurrency[] values()
for (Concurrency c : Concurrency.values()) System.out.println(c);
public static Concurrency 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 nullpublic boolean shouldRunClassesParallel()
public boolean shouldRunMethodsParallel()