Serializable, Comparable<KeepAliveMode>@Incubating public enum KeepAliveMode extends Enum<KeepAliveMode>
| Enum Constant | Description |
|---|---|
DAEMON |
The compiler is kept alive across builds.
|
SESSION |
The compiler is kept alive for a session.
|
| Modifier and Type | Method | Description |
|---|---|---|
static KeepAliveMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static KeepAliveMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeepAliveMode SESSION
public static final KeepAliveMode DAEMON
public static KeepAliveMode[] values()
for (KeepAliveMode c : KeepAliveMode.values()) System.out.println(c);
public static KeepAliveMode 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