Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for graphPopulated (0.35 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

            }
    
            then:
            !decoratedListener.is(listener)
    
            when:
            decoratedListener.graphPopulated(arg)
    
            then:
            1 * listener.graphPopulated(arg)
    
            and:
            verifyExpectedOp('foo', id)
    
            where:
            decorateAsObject << [true, false]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/execution/TaskExecutionGraphListener.java

        /**
         * <p>This method is called when the {@link TaskExecutionGraph} has been populated, and before any tasks are
         * executed.
         *
         * @param graph The graph. Never null.
         */
        void graphPopulated(TaskExecutionGraph graph);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt

        ) : TaskExecutionGraphListener {
    
            override fun graphPopulated(graph: TaskExecutionGraph) {
                val wrappedGraph = crossProjectModelAccess.taskGraphForProject(referrerProject, graph as TaskExecutionGraphInternal)
                delegate.graphPopulated(wrappedGraph)
            }
    
            override fun equals(other: Any?): Boolean =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildLogger.java

            }
        }
    
        @Override
        public void projectsEvaluated(Gradle gradle) {
            logger.info("All projects evaluated.");
        }
    
        @Override
        public void graphPopulated(TaskExecutionGraph graph) {
            if (logger.isInfoEnabled()) {
                logger.info("Tasks to be executed: {}", graph.getAllTasks());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 04 18:57:43 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java

        }
    
        @Override
        public void whenReady(final Closure closure) {
            graphListeners.add(
                new ClosureBackedMethodInvocationDispatch(
                    "graphPopulated",
                    listenerBuildOperationDecorator.decorate(
                        "TaskExecutionGraph.whenReady",
                        Cast.<Closure<?>>uncheckedCast(closure)
                    )
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CredentialsProviderFactoryTest.groovy

            when:
            awsProvider.isPresent()
            awsProvider.isPresent()
            passwordProvider.isPresent()
    
            and:
            factory.graphPopulated(null)
    
            then:
            def e = thrown(ProjectConfigurationException)
            e.message == 'Credentials required for this build could not be resolved.'
            e.causes.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CredentialsProviderFactory.java

            return evaluateAtConfigurationTime(() -> provide(credentialsType, identity.get()).get());
        }
    
        @Override
        public void graphPopulated(TaskExecutionGraph graph) {
            if (!missingProviderErrors.isEmpty()) {
                throw new ProjectConfigurationException("Credentials required for this build could not be resolved.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

                    void graphPopulated(TaskExecutionGraph graph) {
                        println "gradle.addListener(TaskExecutionGraphListener) from $source"
                    }
                })
                gradle.taskGraph.addTaskExecutionGraphListener(new TaskExecutionGraphListener() {
                    void graphPopulated(TaskExecutionGraph graph) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            def finalizedPlan = Stub(FinalizedExecutionPlan)
            taskGraph.populate(finalizedPlan)
            taskGraph.execute(finalizedPlan)
    
            then:
            1 * listener.graphPopulated(_)
    
            then:
            1 * planExecutor.process(_, _)
    
            when:
            taskGraph.populate(finalizedPlan)
            taskGraph.execute(finalizedPlan)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            createDirs("a")
            file("settings.gradle") << "include('a')"
            file("build.gradle") << """
                class MyListener implements TaskExecutionGraphListener {
                    void graphPopulated(TaskExecutionGraph graph) {
                        graph.hasTask(":x:unknown")
                    }
                }
                $statement
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top