Serializable
, Comparable<IsolationMode>
@Incubating public enum IsolationMode extends Enum<IsolationMode>
Enum Constant | Description |
---|---|
AUTO |
Let Gradle decide, this is the default.
|
CLASSLOADER |
Isolate the work in it's own classloader, use in-process workers.
|
NONE |
Don't attempt to isolate the work, use in-process workers.
|
PROCESS |
Isolate the work in a separate process, use out-of-process workers.
|
Modifier and Type | Method | Description |
---|---|---|
static IsolationMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static IsolationMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsolationMode AUTO
public static final IsolationMode NONE
public static final IsolationMode CLASSLOADER
public static final IsolationMode PROCESS
public static IsolationMode[] values()
for (IsolationMode c : IsolationMode.values()) System.out.println(c);
public static IsolationMode 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