Groovy Documentation

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

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

@Deprecated
public interface Project
extends Element

Represents a project of some kind.

deprecated:
Use Element or one of its subtypes instead.


Method Summary
java.lang.String getDescription()

Returns the description of this project.

java.lang.String getName()

Returns the name of this project.

java.lang.String getPath()

Returns the fully-qualified path of this project.

java.io.File getProjectDirectory()

Returns the project directory for this project.

 
Methods inherited from interface Element
getDescription, getName
 

Method Detail

getDescription

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


getName

public java.lang.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 java.lang.String getPath()
Returns the fully-qualified path of this project. This is a unique identifier for the project.
Returns:
The path.


getProjectDirectory

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


 

Groovy Documentation