Package: org.gradle.platform.base.component

## [Java] Class BaseComponentSpec

- org.gradle.platform.base.component.BaseComponentSpec

- All Implemented Interfaces and Traits:
    ComponentSpec

      @Incubating
      public abstract class BaseComponentSpec
      extends Object

  Base class for custom component implementations. A custom implementation of ComponentSpec must extend this type.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `protected BaseComponentSpec ()`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static T` | `create(Class<T> type, ComponentSpecIdentifier identifier, FunctionalSourceSet mainSourceSet, org.gradle.internal.reflect.Instantiator instantiator)`
    `DomainObjectSet<BinarySpec>` | `getBinaries()`
    `String` | `getDisplayName()`
    `FunctionalSourceSet` | `getMainSource()`
    `String` | `getName()`
    `String` | `getProjectPath()`
    `DomainObjectSet<LanguageSourceSet>` | `getSource()`
    `void` | `source(Object sources)`
    `String` | `toString()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### protected BaseComponentSpec()

  - ### Method Detail

    - #### public static T create(Class<T> type, ComponentSpecIdentifier identifier, FunctionalSourceSet mainSourceSet, org.gradle.internal.reflect.Instantiator instantiator)

    - #### public DomainObjectSet<BinarySpec> getBinaries()

    - #### public String getDisplayName()

    - #### public FunctionalSourceSet getMainSource()

    - #### public String getName()

    - #### public String getProjectPath()

    - #### public DomainObjectSet<LanguageSourceSet> getSource()

    - #### public void source(Object sources)

    - #### @Override public String toString()