Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rawStreams (0.12 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        @Override
        public Optional<String> logFile() {
            return returnFirstPresentOrEmpty(Options::logFile);
        }
    
        @Override
        public Optional<Boolean> rawStreams() {
            return returnFirstPresentOrEmpty(Options::rawStreams);
        }
    
        @Override
        public Optional<String> color() {
            return returnFirstPresentOrEmpty(Options::color);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

        /**
         * Returns whether raw streams should be logged.
         *
         * @return a boolean indicating whether raw streams should be logged
         */
        @Nonnull
        Optional<Boolean> rawStreams();
    
        /**
         * Returns the color setting for console output.
         *
         * @return an {@link Optional} containing the color setting, or empty if not set
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                return Optional.of(commandLine.getOptionValue(CLIManager.LOG_FILE));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> rawStreams() {
            if (commandLine.hasOption(CLIManager.RAW_STREAMS)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> color() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            return MessageUtils.getTerminal();
        }
    
        protected void doConfigureWithTerminal(C context, Terminal terminal) {
            O options = context.invokerRequest.options();
            if (options.rawStreams().isEmpty() || !options.rawStreams().get()) {
                MavenSimpleLogger stdout = (MavenSimpleLogger) context.loggerFactory.getLogger("stdout");
                MavenSimpleLogger stderr = (MavenSimpleLogger) context.loggerFactory.getLogger("stderr");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top