Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addOutputEventListener (0.25 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/LoggingBridgingBuildActionExecuterTest.groovy

        def configuresLoggingWhileActionIsExecuting() {
            when:
            executer.execute(action, parameters, buildRequestContext)
    
            then:
            1 * loggingManager.addOutputEventListener(!null)
            1 * loggingManager.start()
            1 * target.execute(action, parameters, buildRequestContext)
            1 * loggingManager.stop()
        }
    
        def restoresLoggingWhenActionFails() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LoggingBridgingBuildActionExecuter.java

            ProgressListenerVersion1 progressListener = actionParameters.getProgressListener();
            OutputEventListenerAdapter listener = new OutputEventListenerAdapter(progressListener);
            loggingManager.addOutputEventListener(listener);
            loggingManager.setLevelInternal(actionParameters.getBuildLogLevel());
            loggingManager.start();
            try {
                return delegate.execute(action, parameters, buildRequestContext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/LogToClient.java

                    }
                };
                LOGGER.debug(DaemonMessages.ABOUT_TO_START_RELAYING_LOGS);
                loggingOutput.addOutputEventListener(listener);
            }
    
            public void submit(OutputEvent event) {
                eventQueue.add(event);
            }
    
            @Override
            public void run() {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/LoggingOutputInternal.java

         */
        void addStandardErrorListener(OutputStream outputStream);
    
        /**
         * Adds the given listener as a logging destination.
         */
        @UsedByScanPlugin
        void addOutputEventListener(OutputEventListener listener);
    
        /**
         * Adds the given listener.
         */
        @UsedByScanPlugin
        void removeOutputEventListener(OutputEventListener listener);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy

                        }
                        loggingOutput = objects.newInstance(InternalServices).loggingOutput
                        println("ADDING " + this + " TO " + loggingOutput)
                        loggingOutput.addOutputEventListener(this)
                    }
    
                    @Override
                    synchronized void close() {
                        println("REMOVING " + this + " FROM " + loggingOutput)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top