- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for matchesRequirements (0.1 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
return delegate.getModel().getDelegate(); } @Override public boolean matchesRequirements(Map<String, String> requirements) { return delegate.matchesRequirements(requirements); } @Override public String toString() { return delegate.toString(); } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat May 31 07:20:31 UTC 2025 - 9.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
ToolchainModel model = new ToolchainModel(); model.setType("TYPE"); DefaultToolchain toolchain = newDefaultToolchain(model); assertFalse(toolchain.matchesRequirements(Collections.singletonMap("name", "John Doe"))); verify(logger).debug("Toolchain {} is missing required property: {}", toolchain, "name"); } @Test void testNonMatchingRequirementProperty() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java
* @param requirements Map<String, String> key value pair, may not be {@code null} * @return {@code true} if the requirements match, otherwise {@code false} */ boolean matchesRequirements(Map<String, String> requirements); /** * * @return the original model wrapped by this interface */ ToolchainModel getModel();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
org.apache.maven.api.Toolchain basicPrivate = mock(org.apache.maven.api.Toolchain.class); when(basicPrivate.matchesRequirements(anyMap())).thenReturn(false); when(basicPrivate.matchesRequirements(ArgumentMatchers.eq(Map.of("key", "value")))) .thenReturn(true);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java
return model; } public final void addProvideToken(String type, RequirementMatcher matcher) { provides.put(type, matcher); } @Override public boolean matchesRequirements(Map<String, String> requirements) { for (Map.Entry<String, String> requirement : requirements.entrySet()) { String key = requirement.getKey(); RequirementMatcher matcher = provides.get(key);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 4.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java
* in the toolchain plugin configuration. * * @param requirements key value pair, may not be {@code null} * @return {@code true} if the requirements match, otherwise {@code false} */ boolean matchesRequirements(Map<String, String> requirements);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 3.4K bytes - Viewed (0)