Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for isattached (0.12 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/FallbackConsoleMetaData.java

        ATTACHED(true),
        NOT_ATTACHED(false);
    
        private final boolean attached;
    
        FallbackConsoleMetaData(boolean attached) {
            this.attached = attached;
        }
    
        @Override
        public boolean isStdOut() {
            return attached;
        }
    
        @Override
        public boolean isStdErr() {
            return attached;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/configuration/ConsoleOutput.java

         */
        Plain,
        /**
         * Enable color and rich output when the current process is attached to a console, disable when not attached to a console.
         */
        Auto,
        /**
         * Enable color and rich output, regardless of whether the current process is attached to a console or not.
         * When not attached to a console, the color and rich output is encoded using ANSI control characters.
         */
        Rich,
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ConsoleAttachment.java

    public enum ConsoleAttachment {
        NOT_ATTACHED("not attached to a console", null),
        ATTACHED("console attached to both stdout and stderr", TestConsoleMetadata.BOTH),
        ATTACHED_STDOUT_ONLY("console attached to stdout only", TestConsoleMetadata.STDOUT_ONLY),
        ATTACHED_STDERR_ONLY("console attached to stderr only", TestConsoleMetadata.STDERR_ONLY);
    
        private final String description;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ProgressCrossVersionSpec.groovy

                ProjectConnection connection ->
                    connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events).get()
            }
    
            then: "progress events must be forwarded to the attached listeners"
            events.assertIsABuild()
        }
    
        def "receive progress events when launching a build"() {
            given:
            goodCode()
    
            when: "launching a build"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ConsoleConfigureAction.java

            if (consoleMetaData.isStdOut() && consoleMetaData.isStdErr()) {
                // Redirect stderr to stdout when both stdout and stderr are attached to a console. Assume that they are attached to the same console
                // This avoids interleaving problems when stdout and stderr end up at the same location
                Console console = consoleFor(stdout, consoleMetaData, renderer.getColourMap());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/console/NativePlatformConsoleDetectorTest.groovy

        def "returns null when neither stdout or stderr is attached to console"() {
            given:
            terminals.isTerminal(Terminals.Output.Stdout) >> false
            terminals.isTerminal(Terminals.Output.Stderr) >> false
    
            expect:
            detector.console == null
        }
    
        @Requires(UnitTestPreconditions.SmartTerminalAvailable)
        def "returns metadata when stdout and stderr are attached to console"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/AdditionalData.java

    import org.gradle.api.Action;
    import org.gradle.api.Incubating;
    
    /**
     * Marker interface for additional data that can be attached to a {@link Problem}.
     * <p>
     * This is effectively a sealed interface that is used to restrict the types of additional data that can be attached to a problem.
     * The list interfaces supported by the problems API are:
     * <ul>
     *     <li>{@link GeneralData}</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // source represents the volume that should be attached.
      optional VolumeAttachmentSource source = 2;
    
      // nodeName represents the node that the volume should be attached to.
      optional string nodeName = 3;
    }
    
    // VolumeAttachmentStatus is the status of a VolumeAttachment request.
    message VolumeAttachmentStatus {
      // attached indicates the volume is successfully attached.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download_windows.go

    	// a parent is a console process without console is not clearly documented
    	// but empirically we observed the new console is created and attached to the
    	// subprocess in the default setup.
    	//
    	// Ensure no new console is attached to the subprocess by setting CREATE_NO_WINDOW.
    	//   https://learn.microsoft.com/en-us/windows/console/creation-of-a-console
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/WindowsConsoleDetector.java

            // Use Jansi's detection mechanism
            try {
                new WindowsAnsiPrintStream(new PrintStream(new ByteArrayOutputStream()));
                return FallbackConsoleMetaData.ATTACHED;
            } catch (IOException ignore) {
                // Not attached to a console
                return null;
            }
        }
    
        @Override
        public boolean isConsoleInput() {
            return System.console() != null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top