Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,406 for options (0.44 seconds)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface Options {
        /** Constant indicating that the options source is the command-line interface. */
        String SOURCE_CLI = "CLI";
    
        /**
         * Returns a simple designator of the options source, such as "cli", "maven.conf", etc.
         *
         * @return a string representing the source of the options
         */
        @Nonnull
        String source();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. cmd/object-api-options.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            this.options = new ArrayList<>(options);
        }
    
        @Override
        public Optional<Map<String, String>> userProperties() {
            return collectMapIfPresentOrEmpty(Options::userProperties);
        }
    
        @Override
        public String source() {
            return String.format(
                    "layered(%s)", options.stream().map(Options::source).toList());
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 26 17:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

            assertTrue(options.model().get(), "--model option should be true");
    
            assertTrue(options.plugins().isPresent(), "--plugins option should be present");
            assertTrue(options.plugins().get(), "--plugins option should be true");
        }
    
        @Test
        void testNoPluginsOptionByDefault() throws ParseException {
            String[] args = {"apply"};
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(options.infer()).thenReturn(Optional.ofNullable(infer));
            when(options.model()).thenReturn(Optional.ofNullable(model));
            when(options.plugins()).thenReturn(Optional.ofNullable(plugins));
            when(options.modelVersion()).thenReturn(Optional.ofNullable(modelVersion));
            return options;
        }
    
        /**
         * Creates upgrade options with only the --all flag set.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            final Options options = new Options();
            final CmdLineParser parser = new CmdLineParser(options);
            try {
                parser.parseArgument(args);
            } catch (final CmdLineException e) {
                System.err.println(e.getMessage());
                System.err.println("java " + SuggestCreator.class.getCanonicalName() + " [options...] arguments...");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

        public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         * @param defaultWhenNoOptionsSpecified whether this option should be enabled by default
         * @return true if the option should be enabled
         */
        default boolean isOptionEnabled(
                UpgradeOptions options, Optional<Boolean> specificOption, boolean defaultWhenNoOptionsSpecified) {
            // Handle --all option (overrides individual options)
            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param settings The settings to serialize, must not be {@code null}.
         * @throws IOException If the settings could not be serialized.
         */
        void write(File output, Map<String, Object> options, Settings settings) throws IOException;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            final Options options = new Options();
    
            final CmdLineParser parser = new CmdLineParser(options);
            try {
                parser.parseArgument(args);
            } catch (final CmdLineException e) {
                System.err.println(e.getMessage());
                System.err.println("java " + ThumbnailGenerator.class.getCanonicalName() + " [options...] arguments...");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top