Package org.gradle.workers
Schnittstelle ForkingWorkerSpec
- Alle Superschnittstellen:
WorkerSpec
- Alle bekannten Unterschnittstellen:
ProcessWorkerSpec
A worker spec providing the requirements of a forked process.
- Seit:
- 5.6
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidforkOptions(Action<? super JavaForkOptions> forkOptionsAction) Executes the provided action against theJavaForkOptionsobject associated with this builder.Returns theJavaForkOptionsobject associated with this builder.
-
Methodendetails
-
forkOptions
Executes the provided action against theJavaForkOptionsobject associated with this builder.- Parameter:
forkOptionsAction- - An action to configure theJavaForkOptionsfor this builder
-
getForkOptions
JavaForkOptions getForkOptions()Returns theJavaForkOptionsobject associated with this builder.- Gibt zurück:
- the
JavaForkOptionsof this builder
-