Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FixedStepPathMatcher (0.38 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/FixedStepPathMatcher.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.file.pattern;
    
    public class FixedStepPathMatcher implements PathMatcher {
        private final PatternStep step;
        private final PathMatcher next;
        private final int minSegments;
        private final int maxSegments;
    
        public FixedStepPathMatcher(PatternStep step, PathMatcher next) {
            this.step = step;
            this.next = next;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/FixedStepPathMatcherTest.groovy

            }
            def matcher = new FixedStepPathMatcher(Stub(PatternStep), next)
    
            expect:
            matcher.minSegments == 3
            matcher.maxSegments == Integer.MAX_VALUE
        }
    
        def "matches path that is appropriate length and matches the step and the next pattern"() {
            def matcher = new FixedStepPathMatcher(step("a"), matchesLastOrSecondLast("c"))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcherFactory.java

                if (pos == parts.size()) {
                    return new AnythingMatcher();
                }
                return new GreedyPathMatcher(compile(parts, pos, caseSensitive));
            }
            return new FixedStepPathMatcher(PatternStepFactory.getStep(parts.get(pos), caseSensitive), compile(parts, pos + 1, caseSensitive));
        }
    
        @VisibleForTesting
        static class DefaultPatternMatcher extends PatternMatcher {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.api.internal.file.pattern.FixedStepPathMatcher> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (FixedStepPathMatcher.java:0)
    Class <org.gradle.api.internal.file.pattern.GreedyPathMatcher> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (GreedyPathMatcher.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top