Interface ModelElement
- All Superinterfaces:
Named
- All Known Subinterfaces:
ApplicationBinarySpec, ApplicationSpec, AssemblerSourceSet, BinaryContainer, BinarySpec, BuildableComponentSpec, CheckableComponentSpec, ComponentSpec, ComponentSpecContainer, CppSourceSet, CSourceSet, CUnitTestSuiteBinarySpec, CUnitTestSuiteSpec, DependentSourceSet, DependentSourceSet, FunctionalSourceSet, GeneralComponentSpec, GoogleTestTestSuiteBinarySpec, GoogleTestTestSuiteSpec, HeaderExportingSourceSet, LanguageSourceSet, LibraryBinarySpec, LibrarySpec, ModelMap<T>, ModelSet<T>, NativeBinarySpec, NativeComponentSpec, NativeExecutableBinarySpec, NativeExecutableSpec, NativeLibraryBinarySpec, NativeLibrarySpec, NativeResourceSet, NativeTestSuiteBinarySpec, NativeTestSuiteSpec, ObjectiveCppSourceSet, ObjectiveCSourceSet, PlatformAwareComponentSpec, SharedLibraryBinarySpec, SourceComponentSpec, StaticLibraryBinarySpec, TargetedNativeComponent, TestSuiteBinarySpec, TestSuiteContainer, TestSuiteSpec, VariantComponent, VariantComponentSpec, WindowsResourceSet
- All Known Implementing Classes:
org.gradle.api.internal.AbstractBuildableComponentSpec, org.gradle.platform.base.component.internal.AbstractComponentSpec, org.gradle.language.base.internal.AbstractLanguageSourceSet, BaseBinarySpec, BaseComponentSpec, BaseLanguageSourceSet, org.gradle.platform.base.component.internal.DefaultComponentSpec
Deprecated.
Represents an element in a model. Elements are arranged in a hierarchy.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns a human-consumable display name for this element.getName()Deprecated.Returns the name of this element.
-
Method Details
-
getName
String getName()Deprecated.Returns the name of this element. Each element has a name associated with it, that uniquely identifies the element amongst its siblings. Some element have their name generated or automatically assigned, and for these elements the name may not be human consumable. -
getDisplayName
-
cpp-application,cpp-library,swift-application,swift-library,xctest) instead.