public static enum Javac.Source extends Enum<Javac.Source>
Enum Constant and Description |
---|
EXTERNAL
Shell out to the javac in the JDK
|
JAR
Run javac in-process, loading it from a jar specified in .buckconfig.
|
JDK
Run javac in-process, loading it from the JRE in which Buck is running.
|
Modifier and Type | Method and Description |
---|---|
static Javac.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Javac.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Javac.Source EXTERNAL
public static final Javac.Source JAR
public static final Javac.Source JDK
public static Javac.Source[] values()
for (Javac.Source c : Javac.Source.values()) System.out.println(c);
public static Javac.Source 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