Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Strategies (0.04 sec)

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

    @Singleton
    public class StrategyOrchestrator {
    
        private final List<UpgradeStrategy> strategies;
    
        @Inject
        public StrategyOrchestrator(List<UpgradeStrategy> strategies) {
            // DI container automatically sorts strategies by priority (highest first)
            this.strategies = strategies;
        }
    
        /**
         * Executes all applicable upgrade strategies in priority order.
         * Each strategy is checked for applicability before execution.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

            @Test
            @DisplayName("should execute all applicable strategies")
            void shouldExecuteAllApplicableStrategies() throws Exception {
                UpgradeContext context = createMockContext();
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class));
    
                // Mock all strategies as applicable
                for (UpgradeStrategy strategy : mockStrategies) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     * under the License.
     */
    
    /**
     * Maven Upgrade Tool Goals and Strategies.
     *
     * <p>This package contains the implementation of the Maven upgrade tool (mvnup) that helps
     * upgrade Maven projects to be compatible with Maven 4. The tool is organized around
     * a goal-based architecture with pluggable upgrade strategies.</p>
     *
     * <h2>Architecture Overview</h2>
     *
     * <h3>Goals</h3>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/index.md

    This is in contrast to the **development** stages, where you are constantly changing the code, breaking it and fixing it, stopping and restarting the development server, etc.
    
    ## Deployment Strategies { #deployment-strategies }
    
    There are several ways to do it depending on your specific use case and the tools that you use.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 17 19:33:53 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests our AtomicHelper fallback strategies in AbstractFuture.
     *
     * <p>On different platforms AbstractFuture uses different strategies for its core synchronization
     * primitives. The strategies are all implemented as subtypes of AtomicHelper and the strategy is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     *
     * <p>On different platforms AggregateFutureState uses different strategies for its core
     * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and
     * the strategy is selected in the static initializer of AggregateFutureState. This is convenient
     * and performant but introduces some testing difficulties. This test exercises the two fallback
     * strategies.
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

        }
    
        @Test
        void testLoadBalancingStrategies() throws Exception {
            // Test different load balancing strategies
            ChannelLoadBalancer loadBalancer = new ChannelLoadBalancer(channelManager);
    
            // Test setting different strategies
            LoadBalancingStrategy[] strategies = { LoadBalancingStrategy.ROUND_ROBIN, LoadBalancingStrategy.LEAST_LOADED,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Result of an upgrade strategy application.
     * Uses sets of paths to track which POMs were processed, modified, or had errors,
     * avoiding double-counting when multiple strategies affect the same POMs.
     *
     * @param processedPoms the set of POMs that were processed
     * @param modifiedPoms the set of POMs that were modified
     * @param errorPoms the set of POMs that had errors
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

    /**
     * Strategy interface for different types of upgrade operations.
     * Each strategy handles a specific aspect of the Maven upgrade process.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Individual strategies can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

            List<UpgradeStrategy> strategies = List.of(
                    new ModelUpgradeStrategy(),
                    new CompatibilityFixStrategy(),
                    new PluginUpgradeStrategy(),
                    new InferenceStrategy());
    
            StrategyOrchestrator orchestrator = new StrategyOrchestrator(strategies);
            applyGoal = new Apply(orchestrator);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top