BinaryProvider (Gradle API 4.10.1)
Date: 2018-09-12

org.gradle.language

## Interface BinaryProvider<T>

- Type Parameters:
    `T` - The type of binary.
  All Superinterfaces:
    Provider<T>

      @Incubating
      public interface BinaryProvider<T>
      extends Provider<T>

  Represents a binary that is created and configured as required.
  Since:
    4.5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configure(Action<? super T> action)` Registers an action to execute to configure the binary.
    `void` | `whenFinalized(Action<? super T> action)` Registers an action to execute when the binary has been configured.

    - ### Methods inherited from interface org.gradle.api.provider.Provider

      `get, getOrElse, getOrNull, isPresent, map`

- - ### Method Detail

    - #### configure

          void configure(Action<? super T> action)

      Registers an action to execute to configure the binary. The action is executed only when the element is required.

    - #### whenFinalized

          void whenFinalized(Action<? super T> action)

      Registers an action to execute when the binary has been configured. The action is executed only when the element is required.
      Since:
        4.6