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
      // Needs to be here instead of the specific methods, because Java 6 and 7 will throw warnings otherwise
      @SuppressWarnings("deprecation")
      public 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
    `BaseBinarySpec ()`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static T` | `create(Class<? extends BinarySpec> publicType, Class<T> implementationType, String name, org.gradle.model.internal.core.MutableModelNode modelNode, org.gradle.model.internal.core.MutableModelNode componentNode, org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.project.taskfactory.ITaskFactory taskFactory)`
    `protected org.gradle.platform.base.internal.BinaryBuildAbility` | `getBinaryBuildAbility()`
    `org.gradle.platform.base.internal.BinaryBuildAbility` | `getBuildAbility()`
    `ComponentSpec` | `getComponent()`
    `protected T` | `getComponentAs(Class<T> componentType)`
    `String` | `getDisplayName()`
    `DomainObjectSet<LanguageSourceSet>` | `getInputs()`
    `String` | `getName()`
    `org.gradle.platform.base.internal.BinaryNamingScheme` | `getNamingScheme()`
    `String` | `getProjectScopedName()`
    `Class<? extends BinarySpec>` | `getPublicType()`
    `DomainObjectSet<LanguageSourceSet>` | `getSource()`
    `ModelMap<LanguageSourceSet>` | `getSources()`
    `BinaryTasksCollection` | `getTasks()`
    `protected String` | `getTypeName()`
    `boolean` | `isBuildable()`
    `boolean` | `isLegacyBinary()`
    `void` | `setBuildable(boolean buildable)`
    `void` | `setNamingScheme(org.gradle.platform.base.internal.BinaryNamingScheme namingScheme)`
    `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#hasBuildDependencies(), org.gradle.api.internal.AbstractBuildableModelElement#setBuildTask(org.gradle.api.Task), 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

    - #### public BaseBinarySpec()

  - ### Method Detail

    - #### public static T create(Class<? extends BinarySpec> publicType, Class<T> implementationType, String name, org.gradle.model.internal.core.MutableModelNode modelNode, @Nullable org.gradle.model.internal.core.MutableModelNode componentNode, org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.project.taskfactory.ITaskFactory taskFactory)

    - #### protected org.gradle.platform.base.internal.BinaryBuildAbility getBinaryBuildAbility()

    - #### @Override public final org.gradle.platform.base.internal.BinaryBuildAbility getBuildAbility()

    - #### @Nullable public ComponentSpec getComponent()

    - #### @Nullable protected T getComponentAs(Class<T> componentType)

    - #### public String getDisplayName()

    - #### @Override public DomainObjectSet<LanguageSourceSet> getInputs()

    - #### public String getName()

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

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

    - #### @Override public Class<? extends BinarySpec> getPublicType()

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

    - #### @Override public ModelMap<LanguageSourceSet> getSources()

    - #### public BinaryTasksCollection getTasks()

    - #### protected String getTypeName()

    - #### public final boolean isBuildable()

    - #### public boolean isLegacyBinary()

    - #### @Override public void setBuildable(boolean buildable)

    - #### public void setNamingScheme(org.gradle.platform.base.internal.BinaryNamingScheme namingScheme)

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