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, Configuration, ConfigurationVariant, ConsumableConfiguration, CppApplication, CppBinary, CppComponent, CppExecutable, CppLibrary, CppSharedLibrary, CppSourceSet, CppStaticLibrary, CppTestExecutable, CppTestSuite, CSourceSet, CUnitTestSuiteBinarySpec, CUnitTestSuiteSpec, DependencyScopeConfiguration, 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, ObjectFilesToBinary, ObjectiveCppSourceSet, ObjectiveCSourceSet, OperatingSystem, Platform, PlatformAwareComponentSpec, PrebuiltLibrary, Product, ProductionComponent, ProductionCppComponent, ProductionSwiftComponent, Publication, PublishableComponent, ReportSpec, ResolvableConfiguration, ScalaSourceDirectorySet, SharedLibraryBinarySpec, SoftwareComponent, SoftwareComponentVariant, SourceComponentSpec, SourceDirectorySet, StaticLibraryBinarySpec, SwiftApplication, SwiftBinary, Swiftc, SwiftComponent, SwiftExecutable, SwiftLibrary, SwiftSharedLibrary, SwiftStaticLibrary, SwiftXCTestBinary, SwiftXCTestBundle, SwiftXCTestExecutable, SwiftXCTestSuite, TargetedNativeComponent, TargetJvmEnvironment, Task, TaskReference, TestComponent, TestSuite, TestSuiteBinarySpec, TestSuiteComponent, TestSuiteContainer, TestSuiteName, TestSuiteSpec, TestSuiteTargetName, TestSuiteType, ToolChain, Usage, VariantComponent, VariantComponentSpec, VerificationType, VersionCatalog, VersionCatalogBuilder, VisualCpp, VisualStudioProject, VisualStudioSolution, WindowsResourceSet
All Known Implementing Classes:
AbstractArchiveTask, org.gradle.api.internal.AbstractBuildableComponentSpec, AbstractCodeQualityTask, AbstractCompile, org.gradle.platform.base.component.internal.AbstractComponentSpec, AbstractConfigurationReportTask, AbstractCopyTask, AbstractDependencyReportTask, AbstractExecTask, org.gradle.language.base.internal.AbstractLanguageSourceSet, AbstractLinkTask, AbstractNativeCompileTask, AbstractNativePCHCompileTask, AbstractNativeSourceCompileTask, AbstractProjectBasedReportTask, AbstractPublishToMaven, AbstractReportTask, AbstractScalaCompile, org.gradle.api.internal.AbstractTask, AbstractTestTask, AntlrTask, AntTarget, Assemble, Attribute, BaseBinarySpec, BaseComponentSpec, BaseLanguageSourceSet, BuildEnvironmentReportTask, CCompile, Checkstyle, CodeNarc, ComponentReport, ConventionReportTask, org.gradle.api.internal.ConventionTask, Copy, CppCompile, CppPreCompiledHeaderCompile, CPreCompiledHeaderCompile, CreateStartScripts, CreateStartScripts, CreateStaticLibrary, org.gradle.platform.base.component.internal.DefaultComponentSpec, DefaultTask, Delete, DependencyInsightReportTask, DependencyReportTask, DependentComponentsReport, Ear, Exec, ExtractSymbols, GenerateBuildDashboard, GenerateCUnitLauncher, GenerateEclipseClasspath, GenerateEclipseJdt, GenerateEclipseProject, GenerateEclipseWtpComponent, GenerateEclipseWtpFacet, GenerateFiltersFileTask, GenerateIdeaModule, GenerateIdeaProject, GenerateIdeaWorkspace, GenerateIvyDescriptor, GenerateMavenPom, GenerateModuleMetadata, GeneratePluginDescriptors, GenerateProjectFileTask, GenerateSchemeFileTask, GenerateSolutionFileTask, GenerateSwiftPackageManagerManifest, GenerateWorkspaceSettingsFileTask, GenerateXcodeProjectFileTask, GenerateXcodeWorkspaceFileTask, GeneratorTask, GradleBuild, GroovyCompile, Groovydoc, HtmlDependencyReportTask, InitBuild, InstallExecutable, InstallXCTestBundle, JacocoBase, JacocoCoverageVerification, JacocoReport, JacocoReportBase, Jar, Jar, JavaCompile, Javadoc, JavaExec, Linkage, LinkExecutable, LinkMachOBundle, LinkSharedLibrary, MachineArchitecture, ModelReport, ObjectiveCCompile, ObjectiveCppCompile, ObjectiveCppPreCompiledHeaderCompile, ObjectiveCPreCompiledHeaderCompile, OperatingSystemFamily, OutgoingVariantsReportTask, PluginDeclaration, PluginUnderTestMetadata, Pmd, PrefixHeaderFileGenerateTask, ProcessResources, ProjectBasedReportTask, ProjectReportTask, PropertiesGeneratorTask, PropertyListGeneratorTask, PropertyReportTask, PublishToIvyRepository, PublishToMavenLocal, PublishToMavenRepository, ResolvableConfigurationsReportTask, RunTestExecutable, ScalaCompile, ScalaDoc, Sign, SourceTask, StripSymbols, SwiftCompile, Sync, Tar, TaskReportTask, Test, TestReport, UnexportMainSymbol, UpdateDaemonJvm, Upload, ValidatePlugins, War, WindowsResourceCompile, Wrapper, WriteProperties, XCTest, XmlGeneratorTask, Zip

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 
    An implementation of the namer interface for objects implementing the named interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    The object's name.
  • Method Details

    • getName

      String getName()
      The object's name.

      Must be constant for the life of the object.

      Returns:
      The name. Never null.