- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for isApplicable (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
when(options.all()).thenReturn(Optional.empty()); UpgradeContext context = createMockContext(options); assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --model is true"); } @Test @DisplayName("should be applicable when --all option is specified")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
UpgradeContext context = TestUtils.createMockContext(TestUtils.createOptions(all, null, null, null, model)); boolean isApplicable = strategy.isApplicable(context); assertEquals(expectedApplicable, isApplicable, description); } private static Stream<Arguments> provideApplicabilityScenarios() { return Stream.of(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0) -
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 optionsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
*/ private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) { LinkedList<Method> list = new LinkedList<>(); for (Method method : methods) { if (isApplicable(method, classes)) { list.add(method); } } return list; } /** * Returns true if the supplied method is applicable to actualCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
@Priority(40) public class ModelUpgradeStrategy extends AbstractUpgradeStrategy { public ModelUpgradeStrategy() { // Target model version will be determined from context } @Override public boolean isApplicable(UpgradeContext context) { UpgradeOptions options = getOptions(context); // Handle --all option (overrides individual options) if (options.all().orElse(false)) { return true;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
* Fixes issues that prevent POMs from being processed by Maven 4. */ @Named @Singleton @Priority(20) public class CompatibilityFixStrategy extends AbstractUpgradeStrategy { @Override public boolean isApplicable(UpgradeContext context) { UpgradeOptions options = getOptions(context); // Handle --all option (overrides individual options) boolean useAll = options.all().orElse(false); if (useAll) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 22.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
*/ @Named @Singleton @Priority(30) public class InferenceStrategy extends AbstractUpgradeStrategy { @Override public boolean isApplicable(UpgradeContext context) { UpgradeOptions options = getOptions(context); // Handle --all option (overrides individual options) boolean useAll = options.all().orElse(false); if (useAll) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
"3.0.0", MAVEN_4_COMPATIBILITY_REASON)); private Session session; @Inject public PluginUpgradeStrategy() {} @Override public boolean isApplicable(UpgradeContext context) { UpgradeOptions options = getOptions(context); return isOptionEnabled(options, options.plugins(), true); } @Override public String getDescription() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
reflect.Method getMostSpecific(java.util.List, Class[]) throws MethodMap$AmbiguousException; private static int moreSpecific(Class[], Class[]); private static java.util.LinkedList getApplicables(java.util.List, Class[]); private static boolean isApplicable(reflect.Method, Class[]); private static boolean isMethodInvocationCo(Class, Class); private static boolean isStrictMethodInvoca(Class, Class); } org/codehaus/plexus/util/introspection/ReflectionValueExtra.class package org.codehaus.plexus.util.introspection;...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K bytes - Click Count (0)