org.gradle.api

## Interface Named

- All Known Subinterfaces:
    ApplicationBinarySpec, ApplicationSpec, Architecture, AssemblerSourceSet, BinarySpec, BuildType, Clang, ClassDirectoryBinarySpec, ComponentSpec, ComponentSpecIdentifier, CppSourceSet, CSourceSet, CUnitTestSuiteBinarySpec, CUnitTestSuiteSpec, DependentSourceSet, Distribution, Flavor, FunctionalSourceSet, Gcc, GccCompatibleToolChain, HeaderExportingSourceSet, IvyConfiguration, IvyPublication, JarBinarySpec, JavaPlatform, JavaSourceSet, JavaToolChain, JvmBinarySpec, JvmComponentSpec, JvmLibraryBinarySpec, JvmLibrarySpec, JvmResourceSet, LanguageSourceSet, LibraryBinarySpec, LibrarySpec, MavenPublication, NativeBinarySpec, NativeComponentSpec, NativeExecutableBinarySpec, NativeExecutableSpec, NativeLibraryBinarySpec, NativeLibrarySpec, NativePlatform, NativeResourceSet, NativeTestSuiteBinarySpec, NativeTestSuiteSpec, NativeToolChain, ObjectiveCppSourceSet, ObjectiveCSourceSet, OperatingSystem, Platform, PrebuiltLibrary, Publication, SharedLibraryBinarySpec, SoftwareComponent, SourceDirectorySet, StaticLibraryBinarySpec, TestSuiteBinarySpec, TestSuiteSpec, ToolChain, VisualCpp, VisualStudioProject, VisualStudioSolution, WindowsResourceSet
  All Known Implementing Classes:
    BaseBinarySpec, BaseComponentSpec

      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 and Description
    --- | ---
    `static class` | `Named.Namer` An implementation of the namer interface for objects implementing the named interface.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()` The object's name.

- - ### Method Detail

    - #### getName

          String getName()

      The object's name.

      Must be constant for the life of the object.

      Returns:
        The name. Never null.