Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for patternPos (0.14 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to include from a list of artifact patterns.
     *
     */
    public class IncludesArtifactFilter implements ArtifactFilter {
        private final Set<String> patterns;
    
        public IncludesArtifactFilter(List<String> patterns) {
            this.patterns = new LinkedHashSet<>(patterns);
        }
    
        public boolean include(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     *
     * TODO I think this is equiv. to exclusion set filter in maven-core
     */
    public class ExcludesArtifactFilter extends IncludesArtifactFilter {
        public ExcludesArtifactFilter(List<String> patterns) {
            super(patterns);
        }
    
        public boolean include(Artifact artifact) {
            return !super.include(artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java

    /**
     */
    class FilterHashEqualsTest {
    
        @Test
        void testIncludesExcludesArtifactFilter() {
            List<String> patterns = Arrays.asList("c", "d", "e");
    
            IncludesArtifactFilter f1 = new IncludesArtifactFilter(patterns);
    
            IncludesArtifactFilter f2 = new IncludesArtifactFilter(patterns);
    
            assertTrue(f1.equals(f2));
            assertTrue(f2.equals(f1));
            assertTrue(f1.hashCode() == f2.hashCode());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            Pattern[] patterns = (Pattern[]) propMap.get(CRAWLER_METADATA_CONTENT_EXCLUDES);
            if (patterns == null) {
                patterns = split(getCrawlerMetadataContentExcludes(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).map(Pattern::compile).toArray(n -> new Pattern[n]));
                propMap.put(CRAWLER_METADATA_CONTENT_EXCLUDES, patterns);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // Continuum and other server-like apps may need to locate the user-level and
            // global-level settings somewhere other than ${user.home} and ${maven.home},
            // respectively. Using a simple replacement of these patterns will allow them
            // to specify the absolute path to these files in a customized components.xml
            // file. Ideally, we'd do full pattern-evaluation against the sysprops, but this
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.model.Exclusion;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     */
    public class ExclusionArtifactFilter implements ArtifactFilter {
    
        private final List<Exclusion> exclusions;
        private final List<Predicate<Artifact>> predicates;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                        return mirror;
                    }
                }
            }
    
            return null;
        }
    
        /**
         * This method checks if the pattern matches the originalRepository. Valid patterns:
         * <ul>
         * <li>{@code *} = everything,</li>
         * <li>{@code external:*} = everything not on the localhost and not file based,</li>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

    import org.apache.maven.api.services.MessageBuilder;
    
    /**
     * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix
     * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10
     * and <code>###0</code> for numbers between 10 and 1000+ by default.
     *
     * @see <a href="https://en.wikipedia.org/wiki/Metric_prefix">https://en.wikipedia.org/wiki/Metric_prefix</a>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g.  */
        String CRAWLER_DOCUMENT_FILE_DEFAULT_EXCLUDE_INDEX_PATTERNS = "crawler.document.file.default.exclude.index.patterns";
    
        /** The key of the configuration. e.g.  */
        String CRAWLER_DOCUMENT_FILE_DEFAULT_INCLUDE_SEARCH_PATTERNS = "crawler.document.file.default.include.search.patterns";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        // this is a live injected collection
        private final List<ClassRealmManagerDelegate> delegates;
    
        private final ClassRealm mavenApiRealm;
    
        private final ClassRealm maven4ApiRealm;
    
        /**
         * Patterns of artifacts provided by maven core and exported via maven api realm. These artifacts are filtered from
         * plugin and build extensions realms to avoid presence of duplicate and possibly conflicting classes on classpath.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top