Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

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

    org.gradle.tooling.model.BuildableElement
      org.gradle.tooling.model.HierarchicalElement
          org.gradle.tooling.model.GradleProject
              org.gradle.tooling.model.Element

All Superinterfaces:
  BuildableElement, HierarchicalElement, Element

    public interface GradleProject
    extends BuildableElement, HierarchicalElement

Gradle project.

Since:
  1.0-rc-1

Method Summary
`GradleProject` | `findByPath(java.lang.String path)` searches all descendants (children, grand children, etc.), including self, by given path.
`DomainObjectSet` | `getChildren()` {@inheritDoc}
`GradleProject` | `getParent()` {@inheritDoc}
`java.lang.String` | `getPath()` Returns gradle path
`DomainObjectSet` | `getTasks()` Returns the tasks of this project.

Methods inherited from interface BuildableElement
getTasks

Methods inherited from interface HierarchicalElement
getChildren, getParent

Method Detail

### findByPath

    public GradleProject findByPath(java.lang.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 java.lang.String getPath()

  Returns gradle path
  Returns:
    The path.

### getTasks

    public DomainObjectSet getTasks()

  Returns the tasks of this project.
  Returns:
    The tasks.

Groovy Documentation