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
 String getDescription()
          Returns the description of the element, or null if it has no description.
 String getName()
          Returns the name of the element.
 

Method Detail

getName

String getName()
Returns the name of the element. Note that the name is not a unique identifier.

Returns:
The name of the element.

getDescription

@Nullable
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.