Groovy Documentation

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

org.gradle.tooling.model.GradleProject
  org.gradle.tooling.model.HierarchicalElement
      org.gradle.tooling.model.Model
          org.gradle.tooling.model.BuildableElement
              org.gradle.tooling.model.Element
All Superinterfaces:
HierarchicalElement, Model, BuildableElement, Element

public interface GradleProject
extends BuildableElement, HierarchicalElement

Gradle project.

Since:
1.0-milestone-5


Method Summary
GradleProject findByPath(String path)

searches all descendants (children, grand children, etc.), including self, by given path.

DomainObjectSet getChildren()

{@inheritDoc}

GradleProject getParent()

{@inheritDoc}

String getPath()

Returns gradle path

DomainObjectSet getTasks()

Returns the tasks of this project.

 
Methods inherited from interface HierarchicalElement
getChildren, getParent
 
Methods inherited from interface BuildableElement
getTasks
 

Method Detail

findByPath

public GradleProject findByPath(String path)
searches all descendants (children, grand children, etc.), including self, by given path.
Returns:
gradle project with matching path or null if not found


getChildren

public DomainObjectSet getChildren()
{@inheritDoc}


getParent

public GradleProject getParent()
{@inheritDoc}


getPath

public String getPath()
Returns gradle path
Returns:
The path.


getTasks

public DomainObjectSet getTasks()
Returns the tasks of this project.
Returns:
The tasks.


 

Gradle API 1.0