# Interface TypeBuilder<T>

Type Parameters:
  `T` - The registered type.

@Incubating @Deprecated public interface TypeBuilder<T>
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
A TypeBuilder to configure the registration of a type.

Since:
  2.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TypeBuilder<T>`
  `defaultImplementation(Class<?> implementation)`
  Deprecated.
  Allows the plugin to register the implementation type.
  `TypeBuilder<T>`
  `internalView(Class<?> internalView)`
  Deprecated.
  Allows type registration rules to add internal views to the registered type.

- ## Method Details

  - ### defaultImplementation

    TypeBuilder<T> defaultImplementation(Class<?> implementation)
    Deprecated.
    Allows the plugin to register the implementation type.
    Parameters:
      `implementation` - the implementation class.
    Since:
      2.2

  - ### internalView

    TypeBuilder<T> internalView(Class<?> internalView)
    Deprecated.
    Allows type registration rules to add internal views to the registered type.
    Parameters:
      `internalView` - the internal view class
    Since:
      2.8