api / org.gradle.tooling.model / Element

Element

interface Element : Model

Described model element.

Since
1.0-milestone-5

Functions

getDescription

abstract fun getDescription(): String

Returns the description of the element, or null if it has no description.

getName

abstract fun getName(): String

Returns the name of the element. Note that the name is not a unique identifier.

Inheritors

BuildableElement

interface BuildableElement : Element

Represents an element which has Gradle tasks associated with it.

HierarchicalElement

interface HierarchicalElement : Element

Represents an element which belongs to some hierarchy.