# ProcessWorkerSpec

interface ProcessWorkerSpec : ForkingWorkerSpec, ClassLoaderWorkerSpec(source)

A worker spec providing the requirements of a forked process with a custom classpath.

#### Since

5.6

## Functions

forkOptions
Link copied to clipboard
abstract fun forkOptions(forkOptionsAction: Action<in JavaForkOptions>)
Executes the provided action against the JavaForkOptions object associated with this builder.
getClasspath
Link copied to clipboard
abstract fun getClasspath(): ConfigurableFileCollection
Gets the classpath associated with the worker.
getForkOptions
Link copied to clipboard
abstract fun getForkOptions(): JavaForkOptions
Returns the JavaForkOptions object associated with this builder.