Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for BuildOperation (0.27 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                def manager = gradle.services.get($BuildOperationListenerManager.name)
                def listener = new $BuildOperationListener.name() {
                    void started($BuildOperationDescriptor.name buildOperation, $OperationStartEvent.name startEvent) {
                        logger.lifecycle "started operation"
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

    import java.util.LinkedList;
    import java.util.concurrent.Executor;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.ReentrantLock;
    
    class DefaultBuildOperationQueue<T extends BuildOperation> implements BuildOperationQueue<T> {
        private enum QueueState {
            Working, Finishing, Cancelled, Done
        }
    
        private final boolean allowAccessToProjectState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

        /**
         * Asserts that the events form a typical tree of operations for a build.
         */
        void assertIsABuild() {
            assertHasSingleTree()
    
            def root = operations[0]
            assert root.buildOperation
            assert root.descriptor.displayName == 'Run build'
        }
    
        boolean isEmpty() {
            assertHasZeroOrMoreTrees()
            return events.empty
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

                    public ListenerService() {
                        println('onInstantiated')
                    }
    
                    // Shouldn't be called
                    void started($BuildOperationDescriptor.name buildOperation, $OperationStartEvent.name startEvent) {
                        println('onStarted')
                    }
    
                    // Shouldn't be called
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top