Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.tooling.model
Interface Task

All Known Subinterfaces:
  EclipseTask, GradleTask

    public interface Task

Represents a task which is executable by Gradle.

Method Summary
`String` | `getDescription()` Returns the description of this task.
`String` | `getName()` Returns the name of this task.
`String` | `getPath()` Returns the path of this task.
`Element` | `getProject()` Returns the element which this task belongs to.

Method Detail

### getPath

    String getPath()

  Returns the path of this task. This is a fully qualified unique name for this task.

### getName

    String getName()

  Returns the name of this task. Note that the name is not necessarily a unique identifier for the task.

  Returns:
    The name.

### getDescription

    String getDescription()

  Returns the description of this task.

  Returns:
    The description. May be null.

### getProject

    Element getProject()

  Returns the element which this task belongs to. //TODO SF rename to 'owner'? I'd deprecate the Task interface and leave only GradleTask (or push this method down to the GradleTask)

  Returns:
    The element.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD