java.io.Serializable, java.lang.Comparable<KeepAliveMode>@Incubating public enum KeepAliveMode extends java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null