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()
Returns the compiler executable to be used.
|
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)
Sets the compiler executable to be used.
|
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@Nullable @Optional @Input public String getExecutable()
null.
Setting the executable disables task output caching.
public void setExecutable(@Nullable String executable)
null.
Setting the executable disables task output caching.
@Internal @Incubating @Nullable public File getJavaHome()
null.@Incubating public void setJavaHome(@Nullable File javaHome)
null.@Internal @Nullable public String getTempDir()
null,
in which case the directory will be chosen automatically.public void setTempDir(@Nullable String tempDir)
null,
in which case the directory will be chosen automatically.protected boolean excludeFromAntProperties(String fieldName)
excludeFromAntProperties in class BaseForkOptions