- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SelectionContext (0.16 sec)
-
subprojects/core/src/main/java/org/gradle/execution/TaskSelector.java
public interface TaskSelector { Spec<Task> getFilter(SelectionContext context, ProjectState project, String taskName, boolean selectAllMatching); TaskSelection getSelection(SelectionContext context, ProjectState project, String taskName, boolean selectAllMatching); class SelectionContext { private final Path originalPath; private final String type; public SelectionContext(Path originalPath, String type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java
} } private class LazyFilter implements Spec<Task> { private final TaskSelector.SelectionContext selection; private final ProjectResolutionResult resolutionResult; private Spec<Task> spec; public LazyFilter(TaskSelector.SelectionContext selection, ProjectResolutionResult resolutionResult) { this.selection = selection;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 14K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java
} @Inject protected InternalProblems getProblemsService() { throw new UnsupportedOperationException(); } @Override public Spec<Task> getFilter(SelectionContext context, ProjectState project, String taskName, boolean includeSubprojects) { if (includeSubprojects) { // Try to delay configuring all the subprojects
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/DefaultTaskSelectorTest.groovy
def excluded = Stub(Task) def notExcluded = Stub(Task) def selectionResult = Stub(TaskSelectionResult) when: def filter = selector.getFilter(new TaskSelector.SelectionContext(Path.path(":a:b"), "type"), project1, "b", false) then: 1 * projectConfigurer.configure(projectModel1) 1 * resolver.selectWithName("b", projectModel1, false) >> selectionResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 05 22:49:56 UTC 2022 - 4.8K bytes - Viewed (0)