Package org.gradle.workers
Interface ForkingWorkerSpec
- All Superinterfaces:
WorkerSpec
- All Known Subinterfaces:
ProcessWorkerSpec
A worker spec providing the requirements of a forked process.
- Since:
- 5.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forkOptions
(Action<? super JavaForkOptions> forkOptionsAction) Executes the provided action against theJavaForkOptions
object associated with this builder.Returns theJavaForkOptions
object associated with this builder.
-
Method Details
-
forkOptions
Executes the provided action against theJavaForkOptions
object associated with this builder.- Parameters:
forkOptionsAction
- - An action to configure theJavaForkOptions
for this builder
-
getForkOptions
JavaForkOptions getForkOptions()Returns theJavaForkOptions
object associated with this builder.- Returns:
- the
JavaForkOptions
of this builder
-