Package org.gradle.api
Interface Named
- All Known Subinterfaces:
ApplicationBinarySpec
,ApplicationSpec
,Architecture
,ArtifactTypeDefinition
,AssemblerSourceSet
,Authentication
,BasicAuthentication
,BinaryContainer
,BinarySpec
,BuildableComponentSpec
,BuildType
,CheckableComponentSpec
,Clang
,ClassDirectoryBinarySpec
,CoffeeScriptSourceSet
,ComponentSpec
,ComponentSpecContainer
,ComponentWithCoordinates
,ConfigurationVariant
,CppApplication
,CppBinary
,CppComponent
,CppExecutable
,CppLibrary
,CppSharedLibrary
,CppSourceSet
,CppTestSuite
,CSourceSet
,CUnitTestSuiteBinarySpec
,CUnitTestSuiteSpec
,DependentSourceSet
,DependentSourceSet
,DigestAuthentication
,Distribution
,Flavor
,FunctionalSourceSet
,Gcc
,GccCompatibleToolChain
,GeneralComponentSpec
,GoogleTestTestSuiteBinarySpec
,GoogleTestTestSuiteSpec
,HeaderExportingSourceSet
,IvyConfiguration
,IvyPublication
,JarBinarySpec
,JavaPlatform
,JavaScriptSourceSet
,JavaSourceSet
,JavaToolChain
,JUnitTestSuiteBinarySpec
,JUnitTestSuiteSpec
,JvmBinarySpec
,JvmClasses
,JvmComponentSpec
,JvmLibrarySpec
,JvmResourceSet
,JvmTestSuiteBinarySpec
,JvmTestSuiteSpec
,LanguageSourceSet
,LibraryBinarySpec
,LibrarySpec
,LocalJava
,MavenPublication
,ModelElement
,ModelMap<T>
,ModelSet<T>
,NativeBinarySpec
,NativeComponentSpec
,NativeExecutableBinarySpec
,NativeExecutableSpec
,NativeLibraryBinarySpec
,NativeLibrarySpec
,NativePlatform
,NativeResourceSet
,NativeTestSuiteBinarySpec
,NativeTestSuiteSpec
,NativeToolChain
,ObjectiveCppSourceSet
,ObjectiveCSourceSet
,OperatingSystem
,Platform
,PlatformAwareComponentSpec
,PlayApplicationBinarySpec
,PlayApplicationSpec
,PlayDistribution
,PlayPlatform
,PlayPlatformAwareComponentSpec
,PlayToolChain
,PrebuiltLibrary
,PublicAssets
,Publication
,RoutesSourceSet
,ScalaLanguageSourceSet
,ScalaPlatform
,ScalaToolChain
,SharedLibraryBinarySpec
,SoftwareComponent
,SourceComponentSpec
,SourceDirectorySet
,StaticLibraryBinarySpec
,SwiftApplication
,SwiftBinary
,Swiftc
,SwiftComponent
,SwiftExecutable
,SwiftLibrary
,SwiftSharedLibrary
,SwiftXCTestBinary
,SwiftXCTestSuite
,TargetedNativeComponent
,TaskReference
,TestSuiteBinarySpec
,TestSuiteContainer
,TestSuiteSpec
,ToolChain
,TwirlSourceSet
,Usage
,VariantComponent
,VariantComponentSpec
,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
,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
Modifier and TypeInterfaceDescriptionstatic class
An implementation of the namer interface for objects implementing the named interface. -
Method Summary
-
Method Details
-
getName
String getName()The object's name.Must be constant for the life of the object.
- Returns:
- The name. Never null.
-