Groovy Documentation

org.gradle.tooling.model
[Java] Interface Project

org.gradle.tooling.model.Element
  org.gradle.tooling.model.Project
      org.gradle.tooling.model.Model
All Superinterfaces:
Element, Model

@Deprecated
public interface Project
extends Element

Represents a project of some kind.

deprecated:
If you acquire Project model via the tooling api, please use GradleProject instead. For internal purposes use Element or one of its subtypes instead.


Method Summary
String getDescription()

Returns the description of this project.

String getName()

Returns the name of this project.

String getPath()

Returns the fully-qualified path of this project.

File getProjectDirectory()

Returns the project directory for this project.

 
Methods inherited from interface Element
getDescription, getName
 

Method Detail

getDescription

public String getDescription()
Returns the description of this project.
Returns:
The description. May be null.


getName

public String getName()
Returns the name of this project. Note that the name is not a unique identifier for the project.
Returns:
The name.


getPath

public String getPath()
Returns the fully-qualified path of this project. This is a unique identifier for the project.
Returns:
The path.


getProjectDirectory

public File getProjectDirectory()
Returns the project directory for this project.
Returns:
The project directory.


 

Gradle API 1.0-milestone-8