BinaryProvider

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

Represents a binary that is created and configured as required.

Since

4.5

Functions

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