BuildActionExecuter

Used to execute a BuildAction in the build process.

Since

1.8

Parameters

<T>

The type of result produced by this executer.

Types

Link copied to clipboard
interface Builder
Builder for a build action that hooks into different phases of the build.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun forTasks(tasks: Iterable<String>): BuildActionExecuter<T>
abstract fun forTasks(tasks: Array<String>): BuildActionExecuter<T>
Specifies the tasks to execute before executing the BuildAction.
Link copied to clipboard
abstract fun run(): T
Runs the action, blocking until its result is available.
abstract fun run(handler: ResultHandler<in T>)
Starts executing the action, passing the result to the given handler when complete.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun setJavaHome(p: File): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the listener to use to streamed values sent from the action via send.
Link copied to clipboard
Link copied to clipboard