# IsolationMode

enum IsolationMode(source)

### Deprecated

Isolation mode for workers.

#### Since

4.0

## Entries

AUTO
Link copied to clipboard
AUTO

Let Gradle decide, this is the default.

NONE
Link copied to clipboard
NONE

Don't attempt to isolate the work, use in-process workers.

CLASSLOADER
Link copied to clipboard
CLASSLOADER

Isolate the work in its own classloader, use in-process workers.

PROCESS
Link copied to clipboard
PROCESS

Isolate the work in a separate process, use out-of-process workers.

## Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): IsolationMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
open fun values(): Array<IsolationMode>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.