# Interface Flavor

All Superinterfaces:
  `Named`

@Incubating @Deprecated public interface Flavor extends Named
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.
Defines a custom variant that differentiate a `NativeBinary`.

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDisplayName()`
  Deprecated.
  Returns a human-consumable display name for this flavor.

  ### Methods inherited from interface Named

  `getName`

- ## Method Details

  - ### getDisplayName

    String getDisplayName()
    Deprecated.
    Returns a human-consumable display name for this flavor.