# Interface ToolChainRegistry<P extends Platform, T extends ToolChain>

Type Parameters:
  `P` - the Platform type
  `T` - the ToolChain type

All Known Subinterfaces:
  `NativeToolChainRegistry`

@Incubating public interface ToolChainRegistry<P extends Platform, T extends ToolChain>
A Provider of `ToolChain`s.

Since:
  2.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `getForPlatform(P targetPlatform)`
  Returns the best tool chain to build for the target platform.

- ## Method Details

  - ### getForPlatform

    T getForPlatform(P targetPlatform)
    Returns the best tool chain to build for the target platform.
    Since:
      2.2