Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 12 of 12 for isApplicable (0.05 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                when(options.all()).thenReturn(Optional.empty());
    
                UpgradeContext context = createMockContext(options);
    
                assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --infer is true");
            }
    
            @Test
            @DisplayName("should be applicable when --all option is specified")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

            // Filter and execute applicable strategies
            List<UpgradeStrategy> applicableStrategies = strategies.stream()
                    .filter(strategy -> strategy.isApplicable(context))
                    .toList();
    
            if (applicableStrategies.isEmpty()) {
                context.warning("No applicable upgrade strategies found");
                return overallResult;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top