Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 255 for strategy (0.04 sec)

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

                // Mock all strategies as applicable
                for (UpgradeStrategy strategy : mockStrategies) {
                    when(strategy.isApplicable(context)).thenReturn(true);
                    when(strategy.apply(Mockito.eq(context), Mockito.any())).thenReturn(UpgradeResult.empty());
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.info("  - " + strategy.getDescription());
            }
            context.println();
    
            // Execute each applicable strategy
            for (UpgradeStrategy strategy : applicableStrategies) {
                context.info("=== " + strategy.getDescription() + " ===");
                context.indent();
    
                try {
                    UpgradeResult strategyResult = strategy.apply(context, pomMap);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                UpgradeResult result = strategy.doApply(context, pomMap);
    
                // Strategy should handle malformed POMs gracefully
                assertNotNull(result, "Result should not be null");
                assertTrue(result.processedPoms().contains(Paths.get("pom.xml")), "POM should be marked as processed");
            }
        }
    
        @Nested
        @DisplayName("Strategy Description")
        class StrategyDescriptionTests {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

     * Tests Maven 4.1.0+ inference optimizations including dependency and parent inference.
     */
    @DisplayName("InferenceStrategy")
    class InferenceStrategyTest {
    
        private InferenceStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new InferenceStrategy();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

            this.bitSize(),
            that.bitSize());
        checkArgument(
            this.strategy.equals(that.strategy),
            "BloomFilters must have equal strategies (%s != %s)",
            this.strategy,
            that.strategy);
        checkArgument(
            this.funnel.equals(that.funnel),
            "BloomFilters must have equal funnels (%s != %s)",
            this.funnel,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

    import eu.maveniverse.domtrip.Document;
    import org.apache.maven.api.cli.mvnup.UpgradeOptions;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. .github/workflows/tests.yml

    on:
      push:
        branches-ignore:
          - 'gh-pages'
      pull_request:
        branches-ignore:
          - 'gh-pages'
    
    permissions:
      contents: read
    
    jobs:
      # Label of the container job
      sqlite:
        strategy:
          matrix:
            go: ['1.24', '1.25']
            platform: [ubuntu-latest] # can not run in windows OS
        runs-on: ${{ matrix.platform }}
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

    /**
     * Interface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to
     * decorate default functionality or skip some executions
     */
    public interface MojosExecutionStrategy {
    
        /**
         * Entry point to the execution strategy
         *
         * @param mojos             list of mojos representing a project build
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

     */
    @DisplayName("CompatibilityFixStrategy")
    class CompatibilityFixStrategyTest {
    
        private CompatibilityFixStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new CompatibilityFixStrategy();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

        /**
         * Get current load balancing strategy
         *
         * @return current strategy
         */
        public LoadBalancingStrategy getStrategy() {
            return strategy;
        }
    
        /**
         * Set load balancing strategy
         *
         * @param strategy new strategy
         */
        public void setStrategy(LoadBalancingStrategy strategy) {
            this.strategy = strategy;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top