Class ResolvedRequestedTasks_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData

    @GradleVersion(since="4.0")
    @PluginVersion(since="1.8",
                   until="1.8")
    public class ResolvedRequestedTasks_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    The set of tasks that the build invocation resolved to.

    Emitted after configuration phase, but before the first task is executed.

    An event stream will contain at most a single ResolvedRequestedTasks_1_0.

    • Field Detail

      • requestedTaskPaths

        public final List<String> requestedTaskPaths
        The “set” of task paths that were effectively requested for the build.

        This does not represent the entire set of tasks to be executed during the build. Instead, it is the full set of tasks that were explicitly requested resolved to. For example, given an invocation of “gradle build” and many projects with a task of this name, this list will contain the path to the "build" task of each project.

        The list is sorted alphabetically.

      • excludedTaskPaths

        public final List<String> excludedTaskPaths
        The “set” of task paths that were effectively requested to be excluded.

        For example, given an invocation of “gradle -x build” and many projects with a task of this name, this list will contain the path to the "build" task of each project.

        The list is sorted alphabetically.

    • Constructor Detail

      • ResolvedRequestedTasks_1_0

        public ResolvedRequestedTasks_1_0​(List<String> requestedTaskPaths,
                                          List<String> excludedTaskPaths)