Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RequirementMatcher (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcher.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain;
    
    /**
     *
     */
    @Deprecated(since = "4.0.0")
    public interface RequirementMatcher {
    
        boolean matches(String requirement);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 967 bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

        }
    
        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)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

        private RequirementMatcherFactory() {}
    
        public static RequirementMatcher createExactMatcher(String provideValue) {
            return new ExactMatcher(provideValue);
        }
    
        public static RequirementMatcher createVersionMatcher(String provideValue) {
            return new VersionMatcher(provideValue);
        }
    
        private static final class ExactMatcher implements RequirementMatcher {
    
            private String provides;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

    /**
     *
     */
    class RequirementMatcherFactoryTest {
    
        /**
         * Test of createExactMatcher method, of class RequirementMatcherFactory.
         */
        @Test
        void testCreateExactMatcher() {
            RequirementMatcher matcher;
            matcher = RequirementMatcherFactory.createExactMatcher("foo");
            assertFalse(matcher.matches("bar"));
            assertFalse(matcher.matches("foobar"));
            assertFalse(matcher.matches("foob"));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map.Entry;
    import java.util.Properties;
    
    import org.apache.maven.toolchain.MisconfiguredToolchainException;
    import org.apache.maven.toolchain.RequirementMatcher;
    import org.apache.maven.toolchain.RequirementMatcherFactory;
    import org.apache.maven.toolchain.ToolchainFactory;
    import org.apache.maven.toolchain.ToolchainPrivate;
    import org.apache.maven.toolchain.model.ToolchainModel;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top