public static enum JavacOptions.SpoolMode extends Enum<JavacOptions.SpoolMode>
Enum Constant and Description |
---|
DIRECT_TO_JAR
Writes the compiler output directly to a .jar file while retaining the intermediate .class
files in memory.
|
INTERMEDIATE_TO_DISK
Writes the intermediate .class files from the compiler output to disk which is later packed
up into a .jar file.
|
Modifier and Type | Method and Description |
---|---|
static JavacOptions.SpoolMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavacOptions.SpoolMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavacOptions.SpoolMode DIRECT_TO_JAR
JavaLibraryDescription.AbstractJavaLibraryDescriptionArg
postprocessClassesCommands are present, the builder will resort to writing .class files to
disk by necessity.public static final JavacOptions.SpoolMode INTERMEDIATE_TO_DISK
public static JavacOptions.SpoolMode[] values()
for (JavacOptions.SpoolMode c : JavacOptions.SpoolMode.values()) System.out.println(c);
public static JavacOptions.SpoolMode 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