Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isApplicable (0.11 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

        /**
         * Checks if this strategy is applicable given the current options.
         *
         * @param context the upgrade context
         * @return true if this strategy should be applied
         */
        boolean isApplicable(UpgradeContext context);
    
        /**
         * Helper method to check if a specific option is enabled, considering --all flag and defaults.
         *
         * @param options the upgrade options
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (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;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top