Package org.gradle

Schnittstelle TaskExecutionRequest


public interface TaskExecutionRequest
A request to execute some tasks, along with an optional project path context to provide information necessary to select the tasks
Seit:
2.0
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    The arguments to use to select and optionally configure the tasks, as if provided on the command-line.
    Project path associated with this task request if any.
    The root folder of the build that this task was defined in.
  • Methodendetails

    • getArgs

      List<String> getArgs()
      The arguments to use to select and optionally configure the tasks, as if provided on the command-line.
      Gibt zurück:
      task name.
    • getProjectPath

      @Nullable String getProjectPath()
      Project path associated with this task request if any.
      Gibt zurück:
      project path or null to use the default project path.
    • getRootDir

      @Nullable File getRootDir()
      The root folder of the build that this task was defined in.
      Gibt zurück:
      the root project folder or null if the information is not available.
      Seit:
      3.3