Serializable
public class ForkOptions extends ProviderAwareCompilerDaemonForkOptions
CompileOptions.fork
is true
.Constructor | Description |
---|---|
ForkOptions() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
getAllJvmArgs, getJvmArgumentProviders
getJvmArgs, getMemoryInitialSize, getMemoryMaximumSize, setJvmArgs, setMemoryInitialSize, setMemoryMaximumSize
define
@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 @Nullable public File getJavaHome()
null
.public void setJavaHome(@Nullable File javaHome)
null
.@Internal @Nullable public String getTempDir()
null
,
in which case the directory will be chosen automatically.