@Incubating public enum ForkMode extends Enum<ForkMode>
| Enum Constant and Description |
|---|
ALWAYS
Always fork, aka.
|
AUTO
Let Gradle decide, this is the default.
|
NEVER
Never fork, aka.
|
| Modifier and Type | Method and Description |
|---|---|
static ForkMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForkMode AUTO
public static final ForkMode NEVER
public static final ForkMode ALWAYS
public static ForkMode[] values()
for (ForkMode c : ForkMode.values()) System.out.println(c);
public static ForkMode 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