Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for addExcludes (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java

         */
        public ArtifactFilter getArtifactFilter() {
            Set<String> excludes = new LinkedHashSet<>(getExcludedArtifacts());
    
            for (ArtifactFilterManagerDelegate delegate : delegates) {
                delegate.addExcludes(excludes);
            }
    
            return new ExclusionSetFilter(excludes);
        }
    
        /**
         * Returns the artifact filter for the standard core artifacts.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManagerDelegate.java

    import java.util.Set;
    
    /**
     * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core extensions.
     */
    @Deprecated
    public interface ArtifactFilterManagerDelegate {
    
        void addExcludes(Set<String> excludes);
    
        void addCoreExcludes(Set<String> excludes);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            assertTrue(urlFilter.match("http://test.com/a"));
    
        }
    
        public void test_match_exclude_case2() {
            urlFilter.addExclude("http://example.com/.*");
            urlFilter.addExclude("http://test.com/.*");
    
            final String sessionId = "id1";
            urlFilter.init(sessionId);
    
            assertFalse(urlFilter.match("http://example.com/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

        protected String sessionId;
    
        protected UrlFilterService urlFilterService;
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.filter.UrlFilter#addExclude(java.lang.String)
         */
        @Override
        public void addExclude(final String urlPattern) {
            try {
                Pattern.compile(urlPattern);
            } catch (final Exception e) {
                if (logger.isWarnEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java

         */
        void addInclude(String urlPattern);
    
        /**
         * Add an url pattern as a non-target.
         *
         * @param urlPattern Regular expression that is not crawled
         */
        void addExclude(String urlPattern);
    
        /**
         * Process an url when it's added as a seed url.
         *
         * @param url URL
         */
        void processUrl(String url);
    
        /**
         * Clear this filter.
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                urlFilter.addInclude(regexp);
            }
        }
    
        public void addExcludeFilter(final String regexp) {
            if (StringUtil.isNotBlank(regexp)) {
                urlFilter.addExclude(regexp);
            }
        }
    
        public void stop() {
            crawlerContext.setStatus(CrawlerStatus.DONE);
            try {
                if (crawlerThreadGroup != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            crawler.crawlerContext.setMaxAccessCount(maxCount);
            crawler.crawlerContext.setNumOfThread(numOfThread);
            crawler.urlFilter.addInclude(url + ".*");
            crawler.urlFilter.addExclude(url + "/dir1/.*");
            final String sessionId = crawler.execute();
            assertEquals(maxCount, dataService.getCount(sessionId));
            dataService.delete(sessionId);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            crawler.crawlerContext.setMaxAccessCount(maxCount);
            crawler.crawlerContext.setNumOfThread(numOfThread);
            crawler.urlFilter.addInclude(url + ".*");
            crawler.urlFilter.addExclude(url + "/dir1/.*");
            final String sessionId = crawler.execute();
            assertEquals(maxCount, dataService.getCount(sessionId));
            dataService.delete(sessionId);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                                            final String urlValue = hostUrl + urlPattern;
                                            crawlerContext.getUrlFilter().addExclude(urlValue);
                                            if (logger.isInfoEnabled()) {
                                                logger.info("Excluded URL: {}", urlValue);
                                            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top