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 SummaryModifier and TypeMethodDescriptionvoidforkOptions(Action<? super JavaForkOptions> forkOptionsAction) Executes the provided action against theJavaForkOptionsobject associated with this builder.Returns theJavaForkOptionsobject associated with this builder.
- 
Method Details- 
forkOptionsExecutes the provided action against theJavaForkOptionsobject associated with this builder.- Parameters:
- forkOptionsAction- - An action to configure the- JavaForkOptionsfor this builder
 
- 
getForkOptionsJavaForkOptions getForkOptions()Returns theJavaForkOptionsobject associated with this builder.- Returns:
- the JavaForkOptionsof this builder
 
 
-