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

org.gradle.tooling.model.cpp

## Interface CppComponent

- All Known Subinterfaces:
    CppApplication, CppLibrary, CppTestSuite

      @Incubating
      public interface CppComponent

  Represents a C++ component.
  Since:
    4.10

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBaseName()` Returns the base name of this component.
    `DomainObjectSet<? extends CppBinary>` | `getBinaries()` All binaries buildable for this component.
    `String` | `getName()` Returns the name of this component.

- - ### Method Detail

    - #### getName

          String getName()

      Returns the name of this component. This is used to disambiguate the component of a project. Each component has a unique name within its project. However, these names are not unique across multiple projects.

    - #### getBinaries

          DomainObjectSet<? extends CppBinary> getBinaries()

      All binaries buildable for this component. These will implement `CppExecutable`, `CppSharedLibrary` or `CppStaticLibrary`.

    - #### getBaseName

          String getBaseName()

      Returns the base name of this component.