gradle
8.5

# BinaryProvider

interface BinaryProvider<T> : Provider<T> (source)

Represents a binary that is created and configured as required.

#### Parameters

<T>

The type of binary.

## Functions

configure
Link copied to clipboard
abstract fun configure(action: Action<out Any>)
Registers an action to execute to configure the binary.
filter
Link copied to clipboard
abstract fun filter(spec: Spec<out Any>): Provider<T>
flatMap
Link copied to clipboard
abstract fun <S> flatMap(transformer: Transformer<out @Nullable Provider<out S>, out Any>): Provider<S>
forUseAtConfigurationTime
Link copied to clipboard
abstract fun forUseAtConfigurationTime(): Provider<T>
get
Link copied to clipboard
abstract fun get(): T
getOrElse
Link copied to clipboard
abstract fun getOrElse(defaultValue: T): T
getOrNull
Link copied to clipboard
abstract fun getOrNull(): T
isPresent
Link copied to clipboard
abstract fun isPresent(): Boolean
map
Link copied to clipboard
abstract fun <S> map(transformer: Transformer<out @Nullable S, out Any>): Provider<S>
orElse
Link copied to clipboard
abstract fun orElse(value: T): Provider<T>
whenFinalized
Link copied to clipboard
abstract fun whenFinalized(action: Action<out Any>)
Registers an action to execute when the binary has been configured.
zip
Link copied to clipboard
abstract fun <U, R> zip(right: Provider<U>, combiner: BiFunction<out Any, out Any, out @Nullable R>): Provider<R>