TypeBuilder (Gradle API 2.11)
Date: 2016-02-08

Package: org.gradle.platform.base

## [Java] Interface TypeBuilder<T>

- A TypeBuilder to configure the registration of a type.

  Parameters:
    `` - The registered type.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `TypeBuilder<T>` | `defaultImplementation(Class<? extends T> implementation)` Allows the plugin to register the implementation type.
    `TypeBuilder<T>` | `internalView(Class<?> internalView)` Allows type registration rules to add internal views to the registered type.

- - ### Method Detail

    - #### public TypeBuilder<T> defaultImplementation(Class<? extends T> implementation)

      Allows the plugin to register the implementation type.

      Parameters:
        `implementation` - the implementation class.

    - #### public TypeBuilder<T> internalView(Class<?> internalView)

      Allows type registration rules to add internal views to the registered type.

      Parameters:
        `internalView` - the internal view class