# ConfigurableLauncher

interface ConfigurableLauncher<T : ConfigurableLauncher<T>?> : LongRunningOperation

A `ConfigurableLauncher` allows you to configure a long running operation.

#### Since

2.6

#### Parameters

<T>

the ConfigurableLauncher implementation to return as part of the fluent API.

#### Inheritors

BuildLauncher
BuildActionExecuter
ModelBuilder
TestLauncher

## Functions

addArguments
Link copied to clipboard
abstract fun addArguments(arguments: Iterable<String>): T
abstract fun addArguments(arguments: Array<String>): T
addJvmArguments
Link copied to clipboard
abstract fun addJvmArguments(jvmArguments: Iterable<String>): T
abstract fun addJvmArguments(jvmArguments: Array<String>): T
addProgressListener
Link copied to clipboard
abstract fun addProgressListener(listener: ProgressListener): T
abstract fun addProgressListener(listener: ProgressListener): T
abstract fun addProgressListener(listener: ProgressListener, eventTypes: Set<OperationType>): T
abstract fun addProgressListener(listener: ProgressListener, operationTypes: Array<OperationType>): T
setColorOutput
Link copied to clipboard
abstract fun setColorOutput(colorOutput: Boolean): T
setEnvironmentVariables
Link copied to clipboard
abstract fun setEnvironmentVariables(envVariables: Map<String, String>): T
setJavaHome
Link copied to clipboard
abstract fun setJavaHome(javaHome: File): T
setJvmArguments
Link copied to clipboard
abstract fun setJvmArguments(jvmArguments: Iterable<String>): T
abstract fun setJvmArguments(jvmArguments: Array<String>): T
setStandardError
Link copied to clipboard
abstract fun setStandardError(outputStream: OutputStream): T
setStandardInput
Link copied to clipboard
abstract fun setStandardInput(inputStream: InputStream): T
setStandardOutput
Link copied to clipboard
abstract fun setStandardOutput(outputStream: OutputStream): T
withArguments
Link copied to clipboard
abstract fun withArguments(arguments: Iterable<String>): T
abstract fun withArguments(arguments: Array<String>): T
withCancellationToken
Link copied to clipboard
abstract fun withCancellationToken(cancellationToken: CancellationToken): T
withDetailedFailure
Link copied to clipboard
abstract fun withDetailedFailure(): T
withSystemProperties
Link copied to clipboard
abstract fun withSystemProperties(systemProperties: Map<String, String>): T