BinarySpec (Gradle API 2.14)
Date: 2016-06-14

org.gradle.platform.base

## Interface BinarySpec

- All Superinterfaces:
    Buildable, BuildableComponentSpec, ComponentSpec, ModelElement, Named
  All Known Subinterfaces:
    ApplicationBinarySpec, ClassDirectoryBinarySpec, CUnitTestSuiteBinarySpec, GoogleTestTestSuiteBinarySpec, JarBinarySpec, JUnitTestSuiteBinarySpec, JvmBinarySpec, JvmTestSuiteBinarySpec, LibraryBinarySpec, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeTestSuiteBinarySpec, PlayApplicationBinarySpec, SharedLibraryBinarySpec, StaticLibraryBinarySpec, TestSuiteBinarySpec, TestSuiteBinarySpec
  All Known Implementing Classes:
    BaseBinarySpec

      @Incubating
      public interface BinarySpec
      extends BuildableComponentSpec

  Represents a binary that is the result of building a component.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.gradle.api.Named

      `Named.Namer`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DomainObjectSet<LanguageSourceSet>` | `getInputs()` Returns all inputs of the binary.
    `ModelMap<LanguageSourceSet>` | `getSources()` The sources owned by this binary.
    `BinaryTasksCollection` | `getTasks()` The set of tasks associated with this binary.
    `boolean` | `isBuildable()` Can this binary be built in the current environment?

    - ### Methods inherited from interface org.gradle.api.BuildableComponentSpec

      `builtBy, getBuildTask, hasBuildDependencies, setBuildTask`

    - ### Methods inherited from interface org.gradle.api.Buildable

      `getBuildDependencies`

    - ### Methods inherited from interface org.gradle.platform.base.ComponentSpec

      `getProjectPath`

    - ### Methods inherited from interface org.gradle.model.ModelElement

      `getDisplayName, getName`

- - ### Method Detail

    - #### isBuildable

          boolean isBuildable()

      Can this binary be built in the current environment?

    - #### getSources

          ModelMap<LanguageSourceSet> getSources()

      The sources owned by this binary.
      Returns:
        the sources owned by the binary.

    - #### getInputs

          DomainObjectSet<LanguageSourceSet> getInputs()

      Returns all inputs of the binary. This includes source sets owned by the binary, and other source sets created elsewhere (e.g. inherited from the binary's component).
      Returns:
        all inputs of the binary.

    - #### getTasks

          BinaryTasksCollection getTasks()

      The set of tasks associated with this binary.