Package: org.gradle.platform.base.binary

## [Java] Class BaseBinarySpec

- org.gradle.platform.base.binary.BaseBinarySpec

- All Implemented Interfaces and Traits:
    org.gradle.platform.base.internal.BinarySpecInternal

      @Incubating
      public abstract class BaseBinarySpec
      extends org.gradle.api.internal.AbstractBuildableModelElement

  Base class for custom binary implementations. A custom implementation of BinarySpec must extend this type. TODO at the moment leaking BinarySpecInternal here to generate lifecycleTask in LanguageBasePlugin$createLifecycleTaskForBinary#createLifecycleTaskForBinary rule

- - ### Constructor Summary

    Constructors
    Constructor and description
    `protected BaseBinarySpec ()`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static T` | `create(Class<T> type, org.gradle.platform.base.internal.BinaryNamingScheme namingScheme, org.gradle.internal.reflect.Instantiator instantiator)`
    `String` | `getDisplayName()`
    `String` | `getName()`
    `org.gradle.platform.base.internal.BinaryNamingScheme` | `getNamingScheme()`
    `DomainObjectSet<LanguageSourceSet>` | `getSource()`
    `BinaryTasksCollection` | `getTasks()`
    `boolean` | `isBuildable()`
    `boolean` | `isLegacyBinary()`
    `void` | `source(Object source)`
    `String` | `toString()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class org.gradle.api.internal.AbstractBuildableModelElement` | `org.gradle.api.internal.AbstractBuildableModelElement#getBuildDependencies(), org.gradle.api.internal.AbstractBuildableModelElement#builtBy([Ljava.lang.Object;), org.gradle.api.internal.AbstractBuildableModelElement#getBuildTask(), org.gradle.api.internal.AbstractBuildableModelElement#setBuildTask(org.gradle.api.Task), org.gradle.api.internal.AbstractBuildableModelElement#hasBuildDependencies(), org.gradle.api.internal.AbstractBuildableModelElement#wait(long, int), org.gradle.api.internal.AbstractBuildableModelElement#wait(long), org.gradle.api.internal.AbstractBuildableModelElement#wait(), org.gradle.api.internal.AbstractBuildableModelElement#equals(java.lang.Object), org.gradle.api.internal.AbstractBuildableModelElement#toString(), org.gradle.api.internal.AbstractBuildableModelElement#hashCode(), org.gradle.api.internal.AbstractBuildableModelElement#getClass(), org.gradle.api.internal.AbstractBuildableModelElement#notify(), org.gradle.api.internal.AbstractBuildableModelElement#notifyAll()`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### protected BaseBinarySpec()

  - ### Method Detail

    - #### public static T create(Class<T> type, org.gradle.platform.base.internal.BinaryNamingScheme namingScheme, org.gradle.internal.reflect.Instantiator instantiator)

    - #### public String getDisplayName()

    - #### public String getName()

    - #### public org.gradle.platform.base.internal.BinaryNamingScheme getNamingScheme()

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

    - #### public BinaryTasksCollection getTasks()

    - #### public boolean isBuildable()

    - #### public boolean isLegacyBinary()

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

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