Schnittstelle ModelElement

Alle Superschnittstellen:
Named
Alle bekannten Unterschnittstellen:
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
Alle bekannten Implementierungsklassen:
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

@Incubating public interface ModelElement extends Named
Represents an element in a model. Elements are arranged in a hierarchy.
  • Verschachtelte Klassen - Übersicht

    Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named

    Named.Namer
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns a human-consumable display name for this element.
    Returns the name of this element.
  • Methodendetails

    • getName

      String getName()
      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.
      Angegeben von:
      getName in Schnittstelle Named
      Gibt zurück:
      The name. Never null.
    • getDisplayName

      String getDisplayName()
      Returns a human-consumable display name for this element.