Package org.gradle.api

## Interface Named

- All Known Subinterfaces:
    `AdhocComponentWithVariants`, `AggregateTestReport`, `AntlrSourceDirectorySet`, `ApplicationBinarySpec`, `ApplicationSpec`, `Architecture`, `ArtifactTypeDefinition`, `AssemblerSourceSet`, `Authentication`, `AwsImAuthentication`, `BasicAuthentication`, `BinaryContainer`, `BinarySpec`, `BuildableComponent`, `BuildableComponentSpec`, `BuildServiceRegistration<T,​P>`, `BuildType`, `Bundling`, `Category`, `CheckableComponentSpec`, `Clang`, `ComponentSpec`, `ComponentSpecContainer`, `ComponentWithBinaries`, `ComponentWithCoordinates`, `ComponentWithDependencies`, `ComponentWithExecutable`, `ComponentWithInstallation`, `ComponentWithLinkFile`, `ComponentWithLinkUsage`, `ComponentWithNativeRuntime`, `ComponentWithObjectFiles`, `ComponentWithOutputs`, `ComponentWithRuntimeFile`, `ComponentWithRuntimeUsage`, `ComponentWithSharedLibrary`, `ComponentWithStaticLibrary`, `ComponentWithVariants`, `ConfigurationVariant`, `CppApplication`, `CppBinary`, `CppComponent`, `CppExecutable`, `CppLibrary`, `CppSharedLibrary`, `CppSourceSet`, `CppStaticLibrary`, `CppTestExecutable`, `CppTestSuite`, `CSourceSet`, `CUnitTestSuiteBinarySpec`, `CUnitTestSuiteSpec`, `DependentSourceSet`, `DependentSourceSet`, `DigestAuthentication`, `Distribution`, `DocsType`, `Flavor`, `FunctionalSourceSet`, `Gcc`, `GccCompatibleToolChain`, `GeneralComponentSpec`, `GoogleTestTestSuiteBinarySpec`, `GoogleTestTestSuiteSpec`, `GradlePluginApiVersion`, `GroovySourceDirectorySet`, `HeaderExportingSourceSet`, `HttpHeaderAuthentication`, `IvyConfiguration`, `IvyPublication`, `JacocoCoverageReport`, `JvmTestSuite`, `JvmTestSuiteTarget`, `LanguageSourceSet`, `LibraryBinarySpec`, `LibraryElements`, `LibrarySpec`, `MavenPublication`, `ModelElement`, `ModelMap<T>`, `ModelSet<T>`, `NativeBinarySpec`, `NativeComponentSpec`, `NativeExecutableBinarySpec`, `NativeExecutableSpec`, `NativeLibraryBinarySpec`, `NativeLibrarySpec`, `NativePlatform`, `NativeResourceSet`, `NativeTestSuiteBinarySpec`, `NativeTestSuiteSpec`, `NativeToolChain`, `ObjectiveCppSourceSet`, `ObjectiveCSourceSet`, `OperatingSystem`, `Platform`, `PlatformAwareComponentSpec`, `PrebuiltLibrary`, `Product`, `ProductionComponent`, `ProductionCppComponent`, `ProductionSwiftComponent`, `Publication`, `PublishableComponent`, `ReportSpec`, `ScalaSourceDirectorySet`, `SharedLibraryBinarySpec`, `SoftwareComponent`, `SoftwareComponentVariant`, `SourceComponentSpec`, `SourceDirectorySet`, `StaticLibraryBinarySpec`, `SwiftApplication`, `SwiftBinary`, `Swiftc`, `SwiftComponent`, `SwiftExecutable`, `SwiftLibrary`, `SwiftSharedLibrary`, `SwiftStaticLibrary`, `SwiftXCTestBinary`, `SwiftXCTestBundle`, `SwiftXCTestExecutable`, `SwiftXCTestSuite`, `TargetedNativeComponent`, `TargetJvmEnvironment`, `TaskReference`, `TestComponent`, `TestSuite`, `TestSuiteBinarySpec`, `TestSuiteComponent`, `TestSuiteContainer`, `TestSuiteName`, `TestSuiteSpec`, `TestSuiteTarget`, `TestSuiteTargetName`, `TestSuiteType`, `ToolChain`, `Usage`, `VariantComponent`, `VariantComponentSpec`, `VerificationType`, `VersionCatalog`, `VersionCatalogBuilder`, `VisualCpp`, `VisualStudioProject`, `VisualStudioSolution`, `WindowsResourceSet`
  All Known Implementing Classes:
    `org.gradle.api.internal.AbstractBuildableComponentSpec`, `org.gradle.platform.base.component.internal.AbstractComponentSpec`, `org.gradle.language.base.internal.AbstractLanguageSourceSet`, `Attribute`, `BaseBinarySpec`, `BaseComponentSpec`, `BaseLanguageSourceSet`, `org.gradle.platform.base.component.internal.DefaultComponentSpec`, `Linkage`, `MachineArchitecture`, `OperatingSystemFamily`, `PluginDeclaration`

      public interface Named

  Types can implement this interface and use the embedded `Named.Namer` implementation, to satisfy API that calls for a namer.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static class` | `Named.Namer` | An implementation of the namer interface for objects implementing the named interface.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getName()` | The object's name.

- - ### Method Detail

    - #### getName

          java.lang.String getName()

      The object's name.

      Must be constant for the life of the object.

      Returns:
        The name. Never null.