Package: org.gradle.runtime.base.library

## [Java] Class DefaultLibrarySpec

- org.gradle.runtime.base.library.DefaultLibrarySpec

- All Implemented Interfaces and Traits:
    LibrarySpec

      @Incubating
      public class DefaultLibrarySpec

  Base class for custom library implementations. A custom implementation of LibrarySpec must extend this type.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `DefaultLibrarySpec ()`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static T` | `create(Class<T> type, ComponentSpecIdentifier identifier, FunctionalSourceSet mainSourceSet, 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

    - #### public DefaultLibrarySpec()

  - ### Method Detail

    - #### public static T create(Class<T> type, ComponentSpecIdentifier identifier, FunctionalSourceSet mainSourceSet, 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()