Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 324 for options (0.03 sec)

  1. 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. 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...");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            private boolean isOptionEnabled(UpgradeOptions options, Optional<Boolean> option, boolean defaultValue) {
                // Handle --all option (overrides individual options)
                if (options.all().orElse(false)) {
                    return true;
                }
    
                // Check if the specific option is explicitly set
                if (option.isPresent()) {
                    return option.get();
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

         * sets up monitoring, and executes the crawling process.
         *
         * @param args command-line arguments as defined in the Options class
         */
        public static void main(final String[] args) {
            final Options options = new Options();
    
            final CmdLineParser parser = new CmdLineParser(options);
            try {
                parser.parseArgument(args);
            } catch (final CmdLineException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. 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...");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            void shouldBeApplicableWhenAllOptionSpecified() {
                UpgradeOptions options = mock(UpgradeOptions.class);
                when(options.all()).thenReturn(Optional.of(true));
                when(options.plugins()).thenReturn(Optional.empty());
    
                UpgradeContext context = createMockContext(options);
    
                assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --all is specified");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

            void shouldBeApplicableWhenAllOptionSpecified() {
                UpgradeOptions options = mock(UpgradeOptions.class);
                when(options.all()).thenReturn(Optional.of(true));
                when(options.model()).thenReturn(Optional.empty());
    
                UpgradeContext context = createMockContext(options);
    
                assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --all is specified");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

            return overallResult;
        }
    
        /**
         * Logs the upgrade options being used.
         */
        private void logUpgradeOptions(UpgradeContext context) {
            UpgradeOptions options = context.options();
    
            context.info("Options:");
            context.indent();
    
            if (options.all().orElse(false)) {
                context.info("all: true (applying all available upgrades)");
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

            }
    
            @Test
            @DisplayName("should not be applicable when --infer option is false")
            void shouldNotBeApplicableWhenInferOptionFalse() {
                UpgradeOptions options = mock(UpgradeOptions.class);
                when(options.infer()).thenReturn(Optional.of(false));
                when(options.all()).thenReturn(Optional.empty());
    
                UpgradeContext context = createMockContext(options);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top