Element (Gradle API 5.0)
Date: 2018-11-26

Package org.gradle.tooling.model

## Interface Element

- All Superinterfaces:
    `Model`
  All Known Subinterfaces:
    `BasicIdeaProject`, `BuildableElement`, `EclipseProject`, `GradleProject`, `HierarchicalEclipseProject`, `HierarchicalElement`, `IdeaModule`, `IdeaProject`

      public interface Element
      extends Model

  Described model element.
  Since:
    1.0-milestone-5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getDescription​()` | Returns the description of the element, or `null` if it has no description.
    `java.lang.String` | `getName​()` | Returns the name of the element.

- - ### Method Detail

    - #### getName

          java.lang.String getName​()

      Returns the name of the element. Note that the name is not a unique identifier.
      Returns:
        The name of the element.
      Since:
        1.0-milestone-5

    - #### getDescription

          @Nullable
          java.lang.String getDescription​()

      Returns the description of the element, or `null` if it has no description.
      Returns:
        The description of the element, or `null` if it has no description.
      Since:
        1.0-milestone-5