java.io.Serializablepublic abstract class ForkOptions extends ProviderAwareCompilerDaemonForkOptions
CompileOptions.fork is true.| Constructor | Description |
|---|---|
ForkOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getExecutable() |
Returns the compiler executable to be used.
|
java.io.File |
getJavaHome() |
Returns the Java home which contains the compiler to use.
|
java.lang.String |
getTempDir() |
Returns the directory used for temporary files that may be created to pass
command line arguments to the compiler process.
|
void |
setExecutable(java.lang.String executable) |
Sets the compiler executable to be used.
|
void |
setJavaHome(java.io.File javaHome) |
Sets the Java home which contains the compiler to use.
|
void |
setTempDir(java.lang.String tempDir) |
Sets the directory used for temporary files that may be created to pass
command line arguments to the compiler process.
|
getAllJvmArgs, getJvmArgumentProvidersgetJvmArgs, getMemoryInitialSize, getMemoryMaximumSize, setJvmArgs, setMemoryInitialSize, setMemoryMaximumSizedefine@Nullable @Optional @Input public java.lang.String getExecutable()
Only takes effect if CompileOptions.fork is true. Defaults to null.
Setting the executable disables task output caching.
public void setExecutable(@Nullable
java.lang.String executable)
Only takes effect if CompileOptions.fork is true. Defaults to null.
Setting the executable disables task output caching.
@Internal @Nullable public java.io.File getJavaHome()
Only takes effect if CompileOptions.fork is true. Defaults to null.
public void setJavaHome(@Nullable
java.io.File javaHome)
Only takes effect if CompileOptions.fork is true. Defaults to null.
@Internal @Nullable public java.lang.String getTempDir()
null,
in which case the directory will be chosen automatically.public void setTempDir(@Nullable
java.lang.String tempDir)
null,
in which case the directory will be chosen automatically.