public class ForkOptions extends BaseForkOptions
CompileOptions.fork is true.| Constructor and Description |
|---|
ForkOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
excludeFromAntProperties(String fieldName) |
String |
getExecutable()
Deprecated.
Use
getJavaHome() instead |
File |
getJavaHome()
Returns the Java home which contains the compiler to use.
|
String |
getTempDir()
Returns the directory used for temporary files that may be created to pass
command line arguments to the compiler process.
|
void |
setExecutable(String executable)
Deprecated.
Use
setJavaHome(File) instead |
void |
setJavaHome(File javaHome)
Sets the Java home which contains the compiler to use.
|
void |
setTempDir(String tempDir)
Sets the directory used for temporary files that may be created to pass
command line arguments to the compiler process.
|
getJvmArgs, getMemoryInitialSize, getMemoryMaximumSize, setJvmArgs, setMemoryInitialSize, setMemoryMaximumSizedefine, getAntPropertyName, getAntPropertyValue, optionMap@Input @Optional @Deprecated public String getExecutable()
getJavaHome() insteadnull.@Deprecated public void setExecutable(String executable)
setJavaHome(File) insteadnull.@Internal @Incubating public File getJavaHome()
null.@Incubating public void setJavaHome(File javaHome)
null.@Internal public String getTempDir()
null,
in which case the directory will be chosen automatically.public void setTempDir(String tempDir)
null,
in which case the directory will be chosen automatically.protected boolean excludeFromAntProperties(String fieldName)
excludeFromAntProperties in class BaseForkOptions